From c1984a1fa33a2f7f730e439184a2c4773f0b95d0 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 18 Apr 2014 11:28:00 +0200 Subject: Show doubleClicked picture Long standing bug, I guess. Select and show the doubleClicked picture instead of just loading all the others and showing the first one. --- archivecontroller.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'archivecontroller.cpp') diff --git a/archivecontroller.cpp b/archivecontroller.cpp index e5dbcc7..a50023b 100644 --- a/archivecontroller.cpp +++ b/archivecontroller.cpp @@ -331,6 +331,7 @@ void ArchiveController::fileDoubleClicked(const QModelIndex &idx){ } pv->setShowMarkItem(false); pv->addFiles(paths); + pv->selectPic(idx.data(ArchiveFilesModel::FullPathRole).toString()); pv->show(); } -- cgit v1.2.3-70-g09d2