From 626f644710b5887128460704d2f0bcbc26d1f58e Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Tue, 24 Apr 2007 20:58:26 +0000 Subject: [PATCH] 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 --- bacula/src/qt-console/console/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /* -- 2.39.5