[PC-BSD Commits] r15975 - pcbsd/current/src-qt4/warden/src

svn at pcbsd.org svn at pcbsd.org
Fri Mar 23 01:16:42 PDT 2012


Author: kris
Date: 2012-03-23 08:16:42 +0000 (Fri, 23 Mar 2012)
New Revision: 15975

Modified:
   pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
Log:

Fix a bug showing the wrong details when switching to a different jail
and the new details not being ready



Modified: pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
===================================================================
--- pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-23 08:12:40 UTC (rev 15974)
+++ pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-23 08:16:42 UTC (rev 15975)
@@ -935,8 +935,12 @@
      labelIPs->setText(jailDetails.at(i).at(3));
 
      // Not all details available, stop here
-     if ( jailDetails.at(i).at(1) == "Pending" )
+     if ( jailDetails.at(i).at(1) == "Pending" ) {
+        labelSize->setText(tr("Loading..."));
+        labelPorts->setText(tr("Loading..."));
+        labelConnections->setText(tr("Loading..."));
         break;
+     }
 
      labelSize->setText(jailDetails.at(i).at(4));
      labelPorts->setText(jailDetails.at(i).at(5));



More information about the Commits mailing list