diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-11-29 14:03:16 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2017-12-01 09:44:34 +0100 |
commit | fb008120e102df72abf2feb3a5813639d65955ba (patch) | |
tree | 617995b960f5e5826bf6786391d18a7da1cfe970 /desktop-widgets | |
parent | a1e6ac2e0942a3950f76432e8dcf3c195c281052 (diff) | |
download | subsurface-fb008120e102df72abf2feb3a5813639d65955ba.tar.gz |
Use correct selection mode for dive picture view
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDivePhotos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |