1
0
Fork 1
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:
Marc Zinnschlag 2012-11-27 10:42:46 +01:00
parent ef9575498f
commit 92f70635a2

View file

@ -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
} }