From 7eac3ff6ab23c0c0c2317d1ffd151b8ec40a0a7c Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Sun, 31 May 2009 21:59:30 +0000 Subject: [PATCH] Sort the lists after population so that drop downs are sorted. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8878 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/console/console.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bacula/src/qt-console/console/console.cpp b/bacula/src/qt-console/console/console.cpp index a3b6ee6115..496f99ae55 100644 --- a/bacula/src/qt-console/console/console.cpp +++ b/bacula/src/qt-console/console/console.cpp @@ -155,7 +155,6 @@ void Console::populateLists(int conn) job_list.clear(); client_list.clear(); fileset_list.clear(); - fileset_list.clear(); messages_list.clear(); pool_list.clear(); storage_list.clear(); @@ -177,6 +176,14 @@ void Console::populateLists(int conn) .arg(conn).arg(m_dir->name()); Pmsg1(000, "%s", dbgmsg.toUtf8().data()); } + job_list.sort(); + client_list.sort(); + fileset_list.sort(); + messages_list.sort(); + pool_list.sort(); + storage_list.sort(); + type_list.sort(); + level_list.sort(); } /* -- 2.39.5