[PC-BSD Commits] r5601 - pcbsd/trunk/SysInstaller
svn at pcbsd.org
svn at pcbsd.org
Mon Dec 14 12:25:03 PST 2009
Author: kris
Date: 2009-12-14 12:25:03 -0800 (Mon, 14 Dec 2009)
New Revision: 5601
Modified:
pcbsd/trunk/SysInstaller/sysinstaller.cpp
Log:
Hide the auto-login checkbox if doing FreeBSD install
Modified: pcbsd/trunk/SysInstaller/sysinstaller.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/sysinstaller.cpp 2009-12-14 19:38:44 UTC (rev 5600)
+++ pcbsd/trunk/SysInstaller/sysinstaller.cpp 2009-12-14 20:25:03 UTC (rev 5601)
@@ -283,6 +283,14 @@
if ( stackWidget->currentIndex() == 4 && ! checkUserAccountInfo() )
return;
+ // Check if we are doing FreeBSD install and hide a checkbox
+ if ( stackWidget->currentIndex() == 4 \
+ && radioInstallFreeBSD->isChecked() \
+ && radioInstall->isChecked() )
+ checkAutoLogon->setHidden(true);
+ else
+ checkAutoLogon->setHidden(false);
+
// Generate the config and display the summary on the next page
if ( stackWidget->currentIndex() == 6 )
startConfigGen();
More information about the Commits
mailing list