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

svn at pcbsd.org svn at pcbsd.org
Fri Jul 6 09:49:12 PDT 2012


Author: kris
Date: 2012-07-06 16:49:12 +0000 (Fri, 06 Jul 2012)
New Revision: 17668

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

Fix a bug removing jail ZFS snapshots, don't disable the widget if user clicks
no



Modified: pcbsd/current/src-qt4/warden-gui/dialogwarden.cpp
===================================================================
--- pcbsd/current/src-qt4/warden-gui/dialogwarden.cpp	2012-07-06 16:42:52 UTC (rev 17667)
+++ pcbsd/current/src-qt4/warden-gui/dialogwarden.cpp	2012-07-06 16:49:12 UTC (rev 17668)
@@ -1409,9 +1409,6 @@
 
 void dialogWarden::slotRemoveSnap()
 {
-   // Update status
-   groupSnaps->setEnabled(false); 
-   labelSnap->setText(tr("Removing snapshot... Please wait..."));
 
    QString IP = listJails->currentItem()->text(0);
 
@@ -1422,6 +1419,10 @@
    if ( ret != QMessageBox::Yes )
       return;
 
+   // Update status
+   groupSnaps->setEnabled(false); 
+   labelSnap->setText(tr("Removing snapshot... Please wait..."));
+
    // Remove the snapshot
    createJailProc = new QProcess( this ); 
    QString program = "warden";



More information about the Commits mailing list