mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
BUG: Don't return checkable flag for item when in the middle of configure/generate.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user