]> git.sur5r.net Git - bacula/bacula/commitdiff
Sort the lists after population so that drop downs are sorted.
authorDirk H Bartley <dbartley@schupan.com>
Sun, 31 May 2009 21:59:30 +0000 (21:59 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Sun, 31 May 2009 21:59:30 +0000 (21:59 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8878 91ce42f0-d328-0410-95d8-f526ca767f89

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

index a3b6ee6115167236ed8bbdb8825770b1cabd7725..496f99ae551ec13e7d33b616b45eeca18a75031a 100644 (file)
@@ -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();
 }
 
 /*