BUG: Don't return checkable flag for item when in the middle of configure/generate.

This commit is contained in:
Clinton Stimpson 2009-03-26 11:42:37 -04:00
parent ff561cd1d3
commit ff09eacf5c
1 changed files with 1 additions and 0 deletions

View File

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