[PC-BSD Commits] r17213 - pcbsd/current/src-qt4/pc-installgui
svn at pcbsd.org
svn at pcbsd.org
Wed Jun 6 11:17:26 PDT 2012
Author: kris
Date: 2012-06-06 18:17:26 +0000 (Wed, 06 Jun 2012)
New Revision: 17213
Modified:
pcbsd/current/src-qt4/pc-installgui/installer.cpp
Log:
Fix a bug causing the install gui to crash if we customize the system
packages more than a single time
Modified: pcbsd/current/src-qt4/pc-installgui/installer.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-installgui/installer.cpp 2012-06-06 18:14:39 UTC (rev 17212)
+++ pcbsd/current/src-qt4/pc-installgui/installer.cpp 2012-06-06 18:17:26 UTC (rev 17213)
@@ -440,7 +440,9 @@
selectedPkgs = sPkgs;
groupDeskSummary->setTitle(tr("Custom Package Selection"));
textDeskSummary->setText(tr("The following meta-pkgs will be installed:") + "<br>" + selectedPkgs.join("<br>"));
- wheelCurItem= wheelCurItem + 10;
+ // Only add +10 if we are not already on the custom screen
+ if ( wheelCurItem < 10 )
+ wheelCurItem= wheelCurItem + 10;
graphicsViewOS->setScene(customScene);
}
More information about the Commits
mailing list