[PC-BSD Commits] r18820 - pcbsd/current/src-qt4/pc-installgui

svn at pcbsd.org svn at pcbsd.org
Tue Sep 4 09:52:16 PDT 2012


Author: kris
Date: 2012-09-04 16:52:16 +0000 (Tue, 04 Sep 2012)
New Revision: 18820

Modified:
   pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp
Log:

Allow user to remove SWAP from disk setup



Modified: pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp	2012-09-04 16:49:29 UTC (rev 18819)
+++ pcbsd/current/src-qt4/pc-installgui/wizardDisk.cpp	2012-09-04 16:52:16 UTC (rev 18820)
@@ -577,7 +577,7 @@
    pushAddMount->setEnabled(true);
    pushSizeMount->setEnabled(true);
 
-   if ( treeMounts->currentItem()->text(1) == "SWAP" || treeMounts->currentItem()->text(1) == "/boot" || treeMounts->currentItem()->text(1) == "/" || treeMounts->currentItem()->text(1) == "/swap" )
+   if ( treeMounts->currentItem()->text(1) == "/boot" || treeMounts->currentItem()->text(1) == "/")
      pushRemoveMount->setEnabled(false);
 
    if ( lineFreeMB->text() == "0" )



More information about the Commits mailing list