]> git.sur5r.net Git - bacula/bacula/commitdiff
Correct incorrect placement of trap for m_firstpopulated.
authorDirk H Bartley <dbartley@schupan.com>
Thu, 28 May 2009 12:34:26 +0000 (12:34 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Thu, 28 May 2009 12:34:26 +0000 (12:34 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8871 91ce42f0-d328-0410-95d8-f526ca767f89

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

index 2104d1c0a8601c1d633de0d12565590a5238d9f8..49674a8d2811986c2ef18deaf88b34d00e9a64f8 100644 (file)
@@ -129,7 +129,6 @@ void Clients::populateTable()
             QStringList fieldlist = resultline.split("\t");
 
             if (m_firstpopulation) {
-               m_firstpopulation = false;
                settingsOpenStatus(fieldlist[0]);
             }
 
@@ -180,6 +179,7 @@ void Clients::populateTable()
          }
       }
    }
+   m_firstpopulation = false;
 }
 
 /*
index d76c8e9e0708019752a4169759b206a14aa7ffeb..04b20ba5fecfa3540eee644304c14adf23a41b63 100644 (file)
@@ -134,7 +134,6 @@ void Storage::populateTree()
             fieldlist = resultline.split("\t");
             storageName = fieldlist.takeFirst();
             if (m_firstpopulation) {
-               m_firstpopulation = false;
                settingsOpenStatus(storageName);
             }
             TreeItemFormatter storageItem(*m_topItem, 1);
@@ -163,6 +162,7 @@ void Storage::populateTree()
    for(int cnter=0; cnter<headerlist.size(); cnter++) {
       mp_treeWidget->resizeColumnToContents(cnter);
    }
+   m_firstpopulation = false;
 }
 
 /*