BUG: Don't create empty property. Fixes bug #7193.
This commit is contained in:
parent
2b9e0af408
commit
88a9a3254e
|
@ -439,6 +439,11 @@ QCMakePropertyList QCMakeCacheModel::properties() const
|
|||
{
|
||||
QCMakePropertyList props;
|
||||
|
||||
if(!this->rowCount())
|
||||
{
|
||||
return props;
|
||||
}
|
||||
|
||||
QList<QModelIndex> idxs;
|
||||
idxs.append(this->index(0,0));
|
||||
|
||||
|
|
Loading…
Reference in New Issue