ENH: Give a label for the group of properties that didn't get put into another
group.
This commit is contained in:
parent
2d37d2a48d
commit
36576a4e7a
|
@ -417,6 +417,10 @@ QVariant QCMakeCacheModel::data (const QModelIndex& idx, int role) const
|
|||
{
|
||||
if(idx.column() == 0 && (role == Qt::DisplayRole || role == Qt::EditRole))
|
||||
{
|
||||
if(l->first == QString())
|
||||
{
|
||||
return tr("Ungrouped Properties");
|
||||
}
|
||||
return l->first;
|
||||
}
|
||||
else if(role == QCMakeCacheModel::AdvancedRole)
|
||||
|
|
Loading…
Reference in New Issue