fixed: disable the debug window in bitvis when m_debug is not set
This commit is contained in:
parent
af13595a90
commit
c7bc599c56
1 changed files with 2 additions and 1 deletions
|
@ -153,7 +153,8 @@ void CBitVis::Setup()
|
||||||
m_peakholds = new peak[m_nrcolumns];
|
m_peakholds = new peak[m_nrcolumns];
|
||||||
memset(m_peakholds, 0, m_nrcolumns * sizeof(peak));
|
memset(m_peakholds, 0, m_nrcolumns * sizeof(peak));
|
||||||
|
|
||||||
m_debugwindow.Enable(m_nrcolumns, m_nrlines, m_debugscale);
|
if (m_debug)
|
||||||
|
m_debugwindow.Enable(m_nrcolumns, m_nrlines, m_debugscale);
|
||||||
|
|
||||||
if (m_mpdaddress)
|
if (m_mpdaddress)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue