mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
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
Block a user