fixed: disable the debug window in bitvis when m_debug is not set

This commit is contained in:
Bob van Loosen 2013-02-20 22:40:18 +01:00
parent af13595a90
commit c7bc599c56

View file

@ -153,7 +153,8 @@ void CBitVis::Setup()
m_peakholds = new peak[m_nrcolumns];
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)
{