]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/console/console.cpp
Put debug code on test + fix focus on Volume in label dialog box
[bacula/bacula] / bacula / src / qt-console / console / console.cpp
index dcc7d87d637db7f72d2d24c1817db0d0e5dac622..7c1d9d5a9838d8b5d5573ca3656390cccf9cc568 100644 (file)
@@ -612,7 +612,7 @@ void Console::beginNewCommand(int conn)
    for (int i=0; i < 3; i++) {
       dircomm->write(".");
       while (dircomm->read() > 0) {
-         Pmsg2(000, "begin new command loop %i %s\n", i, m_dir->name());
+         if (mainWin->m_commDebug) Pmsg2(000, "begin new command loop %i %s\n", i, m_dir->name());
          if (mainWin->m_displayAll) display_text(dircomm->msg());
       }
       if (dircomm->m_at_main_prompt) {