aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 19:56:07 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 15:03:20 -0700
commit2cde0b76f7f3f8e71032b59b20b1263eb1ad3ae7 (patch)
tree4bb65190bb555c378efec9e40ee23a95b77c5b9a /qt-ui
parent1c1921a6522a92a43d9ec583a5b6d52007bce8af (diff)
downloadsubsurface-2cde0b76f7f3f8e71032b59b20b1263eb1ad3ae7.tar.gz
Fix selection on the list model.
forgot to add that we used multiselection when I recreated the dive list. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.ui6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index 926e8159d..da7f26ed6 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -129,7 +129,11 @@
<widget class="MultiFilter" name="multiFilter" native="true"/>
</item>
<item>
- <widget class="DiveListView" name="ListWidget"/>
+ <widget class="DiveListView" name="ListWidget">
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
+ </widget>
</item>
</layout>
</widget>