]> git.sur5r.net Git - bacula/bacula/commitdiff
This works better in this order. Otherwise if the signals are not connected
authorDirk H Bartley <dbartley@schupan.com>
Tue, 31 Mar 2009 00:09:34 +0000 (00:09 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Tue, 31 Mar 2009 00:09:34 +0000 (00:09 +0000)
it will not set the right widget to the top of the stack.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8659 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/mainwin.cpp

index effb77869ccc5ec01c262a3df96680cec10df6eb..1b81f4efa72a29aa399e9e0e278dced34485ccd8 100644 (file)
@@ -109,10 +109,10 @@ void MainWin::popLists()
    foreach(Console *console, m_consoleHash)
       console->populateLists(true);
    app->restoreOverrideCursor();
-   m_currentConsole->setCurrent();
    m_doConnect = true;
    connectConsoleSignals();
    connectSignals();
+   m_currentConsole->setCurrent();
 }
 
 void MainWin::createPages()