BUG: Don't return checkable flag for item when in the middle of configure/generate.
This commit is contained in:
parent
ff561cd1d3
commit
ff09eacf5c
|
@ -523,6 +523,7 @@ Qt::ItemFlags QCMakeCacheModel::flags (const QModelIndex& idx) const
|
||||||
if(!this->EditEnabled)
|
if(!this->EditEnabled)
|
||||||
{
|
{
|
||||||
f &= ~Qt::ItemIsEditable;
|
f &= ~Qt::ItemIsEditable;
|
||||||
|
return f;
|
||||||
}
|
}
|
||||||
if(QCMakeProperty::BOOL == this->data(idx, TypeRole).toInt())
|
if(QCMakeProperty::BOOL == this->data(idx, TypeRole).toInt())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue