summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-03-26 15:42:37 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-03-26 15:42:37 (GMT)
commitff09eacf5c2912d127b57d5f4528f2d7aac846a0 (patch)
treeecda7cea1ce56b63203267077bf0f4a20599f49a /Source/QtDialog
parentff561cd1d30f7644672130bfc52d84910ebdfb8a (diff)
downloadCMake-ff09eacf5c2912d127b57d5f4528f2d7aac846a0.zip
CMake-ff09eacf5c2912d127b57d5f4528f2d7aac846a0.tar.gz
CMake-ff09eacf5c2912d127b57d5f4528f2d7aac846a0.tar.bz2
BUG: Don't return checkable flag for item when in the middle of configure/generate.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/QCMakeCacheView.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx
index 585843d..7996559 100644
--- a/Source/QtDialog/QCMakeCacheView.cxx
+++ b/Source/QtDialog/QCMakeCacheView.cxx
@@ -523,6 +523,7 @@ Qt::ItemFlags QCMakeCacheModel::flags (const QModelIndex& idx) const
if(!this->EditEnabled)
{
f &= ~Qt::ItemIsEditable;
+ return f;
}
if(QCMakeProperty::BOOL == this->data(idx, TypeRole).toInt())
{