Qt: Fix OBJ view item flags

This commit is contained in:
Vicki Pfau 2022-04-03 15:38:34 -07:00
parent 3d65b4b4aa
commit 42275f93d3
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ void ObjView::updateObjList(int maxObj) {
item->setText(QString::number(i));
item->setData(Qt::UserRole, i);
item->setSizeHint(QSize(64, 96));
item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
if (m_objId == i) {
item->setSelected(true);
}