From: Dirk H Bartley Date: Sun, 31 May 2009 21:59:30 +0000 (+0000) Subject: Sort the lists after population so that drop downs are sorted. X-Git-Tag: Release-3.0.2~188 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7eac3ff6ab23c0c0c2317d1ffd151b8ec40a0a7c;p=bacula%2Fbacula 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 --- 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(); } /*