[PC-BSD Commits] r605 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Thu Aug 16 11:58:45 PDT 2007


Author: kris
Date: 2007-08-16 11:58:45 -0700 (Thu, 16 Aug 2007)
New Revision: 605

Modified:
   pcbsd/trunk/PCInstall/pcinstall.ui.h
Log:

Fixed more logic behind the partition custom screen



Modified: pcbsd/trunk/PCInstall/pcinstall.ui.h
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.ui.h	2007-08-16 17:24:45 UTC (rev 604)
+++ pcbsd/trunk/PCInstall/pcinstall.ui.h	2007-08-16 18:58:45 UTC (rev 605)
@@ -221,7 +221,10 @@
 	  {
 	   setNextEnabled(currentPage(), TRUE);
                   } else {
+           // Save the status flag for the custom slice regen
+           int oldstatus = regenCustomSlices;
 	   checkPartitionSelectionSlot();
+           regenCustomSlices = oldstatus;
 	  }
                
     }
@@ -890,8 +893,8 @@
 
 void PCInstall::checkPartitionSelectionSlot()
 {
-     // Make sure to set flag to regenerate slice layout for custom partitions
-    regenCustomSlices = 1;
+   // Make sure to set flag to regenerate slice layout for custom partitions
+   regenCustomSlices = 1;
     
     textPartInfo->setText("");
     int SelPartition;



More information about the Commits mailing list