From: Dirk H Bartley Date: Tue, 24 Apr 2007 20:58:26 +0000 (+0000) Subject: Use consoleCommand function which will automatically bring the current X-Git-Tag: Release-7.0.0~6502 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=626f644710b5887128460704d2f0bcbc26d1f58e;p=bacula%2Fbacula Use consoleCommand function which will automatically bring the current 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 --- diff --git a/bacula/src/qt-console/console/console.cpp b/bacula/src/qt-console/console/console.cpp index ac90518935..0637e84435 100644 --- a/bacula/src/qt-console/console/console.cpp +++ b/bacula/src/qt-console/console/console.cpp @@ -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); } /*