projectexplorer: fixed UI issues around renaming items

This commit is contained in:
itsmattkc
2022-07-16 16:54:32 -07:00
parent e4fd2d5d2c
commit 98a71a47c8
3 changed files with 17 additions and 59 deletions
+5
View File
@@ -170,6 +170,11 @@ QVariant ProjectViewModel::data(const QModelIndex &index, int role) const
}
}
break;
case Qt::EditRole:
if (column_type == kName) {
return internal_item->GetLabel();
}
break;
case Qt::DecorationRole:
// If this is the first column, return the Item's icon
if (column_type == kName) {