Use correct selection mode for dive picture view

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-11-29 14:03:16 +01:00 committed by Robert C. Helling
parent a1e6ac2e09
commit fb008120e1

View file

@ -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) {