From fb008120e102df72abf2feb3a5813639d65955ba Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Wed, 29 Nov 2017 14:03:16 +0100 Subject: Use correct selection mode for dive picture view Signed-off-by: Stefan Fuchs --- desktop-widgets/tab-widgets/TabDivePhotos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.cpp b/desktop-widgets/tab-widgets/TabDivePhotos.cpp index 7d6223184..e45e07319 100644 --- a/desktop-widgets/tab-widgets/TabDivePhotos.cpp +++ b/desktop-widgets/tab-widgets/TabDivePhotos.cpp @@ -21,7 +21,7 @@ TabDivePhotos::TabDivePhotos(QWidget *parent) { ui->setupUi(this); ui->photosView->setModel(divePictureModel); - ui->photosView->setSelectionMode(QAbstractItemView::MultiSelection); + ui->photosView->setSelectionMode(QAbstractItemView::ExtendedSelection); connect(ui->photosView, &DivePictureWidget::photoDoubleClicked, [](const QString& path) { -- cgit v1.2.3-70-g09d2