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()) {