mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-11 13:25:53 -04:00
improved selection behaviour
This commit is contained in:
parent
ef9575498f
commit
92f70635a2
@ -21,6 +21,8 @@ CSVWorld::Globals::Globals (const CSMWorld::UniversalId& id, CSMWorld::Data& dat
|
|||||||
table->horizontalHeader()->setResizeMode (QHeaderView::Interactive);
|
table->horizontalHeader()->setResizeMode (QHeaderView::Interactive);
|
||||||
table->verticalHeader()->hide();
|
table->verticalHeader()->hide();
|
||||||
table->setSortingEnabled (true);
|
table->setSortingEnabled (true);
|
||||||
|
table->setSelectionBehavior (QAbstractItemView::SelectRows);
|
||||||
|
table->setSelectionMode (QAbstractItemView::ExtendedSelection);
|
||||||
|
|
||||||
/// \todo make initial layout fill the whole width of the table
|
/// \todo make initial layout fill the whole width of the table
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user