mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix OBJ view item flags
This commit is contained in:
parent
3d65b4b4aa
commit
42275f93d3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue