From b78123166627139777fbd206866ee0d1c8bcd040 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Wed, 21 Aug 2013 01:07:54 +0200 Subject: Contiguous selection and keyboard input for mod lists. Tweak console to take up the sides. You can reorder mods from the keyboard. --- gui/ModListView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/ModListView.cpp') diff --git a/gui/ModListView.cpp b/gui/ModListView.cpp index dc63fcd9..34bd4af2 100644 --- a/gui/ModListView.cpp +++ b/gui/ModListView.cpp @@ -13,7 +13,7 @@ ModListView::ModListView ( QWidget* parent ) setRootIsDecorated ( false ); setSortingEnabled ( false ); setAlternatingRowColors ( true ); - setSelectionMode ( QAbstractItemView::SingleSelection ); + setSelectionMode ( QAbstractItemView::ContiguousSelection ); setHeaderHidden ( false ); setSelectionBehavior(QAbstractItemView::SelectRows); setVerticalScrollBarPolicy ( Qt::ScrollBarAlwaysOn ); -- cgit