[PC-BSD Commits] r12116 - pcbsd/current/src-qt4/pc-updategui
svn at pcbsd.org
svn at pcbsd.org
Fri Aug 12 09:45:37 PDT 2011
Author: kenmoore
Date: 2011-08-12 09:45:36 -0700 (Fri, 12 Aug 2011)
New Revision: 12116
Modified:
pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
Log:
Disable the "select all" checkbox when no updates are available in the update GUI
Modified: pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-updategui/mainWin.cpp 2011-08-12 16:39:10 UTC (rev 12115)
+++ pcbsd/current/src-qt4/pc-updategui/mainWin.cpp 2011-08-12 16:45:36 UTC (rev 12116)
@@ -303,6 +303,10 @@
slotReadUpdateData();
slotDisplayUpdates();
qDebug() << listUpdates;
+ //disable the "select all" checkbox if no updates available
+ if(listViewUpdates.count() == -1){
+ checkAll->setEnabled(false);
+ }
pushInstallUpdates->setEnabled(false); //disable the button until an update is selected
}
More information about the Commits
mailing list