]> git.sur5r.net Git - bacula/bacula/commitdiff
Use consoleCommand function which will automatically bring the current
authorDirk H Bartley <dbartley@schupan.com>
Tue, 24 Apr 2007 20:58:26 +0000 (20:58 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Tue, 24 Apr 2007 20:58:26 +0000 (20:58 +0000)
console to the front of the stack and make the console tree widget
selected.

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

bacula/src/qt-console/console/console.cpp

index ac90518935ace2e0182fe13ea90ddbe30841b869..0637e84435b624a15e68225bad30f384b0ba2f23 100644 (file)
@@ -366,8 +366,8 @@ const QFont Console::get_font()
 
 void Console::status_dir()
 {
-   write_dir("status dir\n");
-   displayToPrompt();
+   QString cmd("status dir");
+        consoleCommand(cmd);
 }
 
 /*