[PC-BSD Commits] r9789 - pcbsd/current/src-qt4/pc-sysinstaller

svn at pcbsd.org svn at pcbsd.org
Mon Mar 28 10:02:24 PDT 2011


Author: kris
Date: 2011-03-28 10:02:24 -0700 (Mon, 28 Mar 2011)
New Revision: 9789

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

Fixed a bug switching to a FreeBSD install in the GUI



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp	2011-03-28 15:19:51 UTC (rev 9788)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp	2011-03-28 17:02:24 UTC (rev 9789)
@@ -335,7 +335,7 @@
 
    // If this install medium doesn't contain package information
    if ( (stackWidget->currentIndex() == 4 && ! availPackageData ) || \
-	radioInstallFreeBSD->isChecked() || \
+	(stackWidget->currentIndex() == 4 && radioInstallFreeBSD->isChecked() ) || \
         (stackWidget->currentIndex() == 4 && ! hasPkgsOnMedia && ! radioNetworkInstall->isChecked() ) ) {
        QString ss = labels.at(4)->styleSheet();
        labels.at(4)->setStyleSheet("color: rgb(255, 255, 255);");
@@ -409,7 +409,7 @@
    // If this install medium doesn't contain package information
 
    if ( (stackWidget->currentIndex() == 7 && ! availPackageData ) || \
-	radioInstallFreeBSD->isChecked() || \
+	(stackWidget->currentIndex() == 7 && radioInstallFreeBSD->isChecked() ) || \
         (stackWidget->currentIndex() == 7 && ! hasPkgsOnMedia && ! radioNetworkInstall->isChecked() ) ) {
        QString ss = labels.at(7)->styleSheet();
        labels.at(7)->setStyleSheet("color: rgb(255, 255, 255);");



More information about the Commits mailing list