mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
rwviewer: select rows in object viewer
This commit is contained in:
parent
640af372ba
commit
ee455bb157
@ -120,6 +120,7 @@ ObjectViewer::ObjectViewer(QWidget* parent, Qt::WindowFlags f)
|
||||
objectList->setColumnWidth(1, 150);
|
||||
objectList->setColumnWidth(2, 200);
|
||||
objectList->setSortingEnabled(true);
|
||||
objectList->setSelectionBehavior(QAbstractItemView::SelectionBehavior::SelectRows);
|
||||
connect(objectList->selectionModel(),
|
||||
SIGNAL(currentChanged(QModelIndex, QModelIndex)), this,
|
||||
SLOT(showItem(QModelIndex)));
|
||||
|
Loading…
Reference in New Issue
Block a user