From ff09eacf5c2912d127b57d5f4528f2d7aac846a0 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Thu, 26 Mar 2009 11:42:37 -0400 Subject: [PATCH] BUG: Don't return checkable flag for item when in the middle of configure/generate. --- Source/QtDialog/QCMakeCacheView.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index 585843dbe..79965594d 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()) {