Use correct selection mode for dive picture view
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
a1e6ac2e09
commit
fb008120e1
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user