mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 16:06:44 +00:00
improved selection behaviour
This commit is contained in:
parent
ef9575498f
commit
92f70635a2
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue