mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ TabDivePhotos::TabDivePhotos(QWidget *parent)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->photosView->setModel(divePictureModel);
|
ui->photosView->setModel(divePictureModel);
|
||||||
ui->photosView->setSelectionMode(QAbstractItemView::MultiSelection);
|
ui->photosView->setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||||
|
|
||||||
connect(ui->photosView, &DivePictureWidget::photoDoubleClicked,
|
connect(ui->photosView, &DivePictureWidget::photoDoubleClicked,
|
||||||
[](const QString& path) {
|
[](const QString& path) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue