[PC-BSD Commits] r17819 - pcbsd/current/src-qt4/pc-firstbootgui

svn at pcbsd.org svn at pcbsd.org
Thu Jul 19 11:38:06 PDT 2012


Author: kris
Date: 2012-07-19 18:38:03 +0000 (Thu, 19 Jul 2012)
New Revision: 17819

Modified:
   pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp
Log:

Fix the next button being mistakenly disabled when the user goes back in 
the wizard



Modified: pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp	2012-07-19 16:36:16 UTC (rev 17818)
+++ pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp	2012-07-19 18:38:03 UTC (rev 17819)
@@ -190,20 +190,13 @@
 
 void Installer::slotBack()
 {
-   nextButton->setEnabled(false);
+   nextButton->setEnabled(true);
 
    if ( installStackWidget->currentIndex() == 1 )
      backButton->setVisible(false);
    else
      backButton->setVisible(true);
 
-   if ( installStackWidget->currentIndex() == 1)
-     slotCheckRootPW();
-   else if ( installStackWidget->currentIndex() == 2)
-     slotCheckUser();
-   else
-     nextButton->setEnabled(true);
-
    proceed(false);
 }
 



More information about the Commits mailing list