diff options
author | Arno <am@disconnect.de> | 2014-04-18 11:28:00 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-04-18 11:28:00 +0200 |
commit | c1984a1fa33a2f7f730e439184a2c4773f0b95d0 (patch) | |
tree | e9796adc41425ee5e8e782220ecb9ceac982eba3 | |
parent | e47bd732941d9f3469400292c3f05be71ba30c76 (diff) | |
download | SheMov-c1984a1fa33a2f7f730e439184a2c4773f0b95d0.tar.gz SheMov-c1984a1fa33a2f7f730e439184a2c4773f0b95d0.tar.bz2 SheMov-c1984a1fa33a2f7f730e439184a2c4773f0b95d0.zip |
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.
-rw-r--r-- | archivecontroller.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |