[PC-BSD Commits] r12157 - pcbsd/current/src-qt4/pc-updategui
svn at pcbsd.org
svn at pcbsd.org
Thu Aug 18 09:12:15 PDT 2011
Author: kenmoore
Date: 2011-08-18 09:12:14 -0700 (Thu, 18 Aug 2011)
New Revision: 12157
Modified:
pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
Log:
Fix the disabling of the "select all" checkbox if no updates available
Modified: pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-updategui/mainWin.cpp 2011-08-18 15:50:37 UTC (rev 12156)
+++ pcbsd/current/src-qt4/pc-updategui/mainWin.cpp 2011-08-18 16:12:14 UTC (rev 12157)
@@ -304,7 +304,7 @@
slotDisplayUpdates();
qDebug() << listUpdates;
//disable the "select all" checkbox if no updates available
- if(listViewUpdates->count() == -1){
+ if(listUpdates.isEmpty() ){
checkAll->setEnabled(false);
}
pushInstallUpdates->setEnabled(false); //disable the button until an update is selected
More information about the Commits
mailing list