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

svn at pcbsd.org svn at pcbsd.org
Fri Jul 13 12:08:18 PDT 2012


Author: kris
Date: 2012-07-13 19:08:18 +0000 (Fri, 13 Jul 2012)
New Revision: 17722

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

Fix checking of root / user password when going back in wizard



Modified: pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp	2012-07-13 18:50:14 UTC (rev 17721)
+++ pcbsd/current/src-qt4/pc-firstbootgui/firstboot.cpp	2012-07-13 19:08:18 UTC (rev 17722)
@@ -190,13 +190,20 @@
 
 void Installer::slotBack()
 {
-   nextButton->setEnabled(true);
+   nextButton->setEnabled(false);
 
    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