summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-12-04 08:14:19 +0100
committerArno <arno@disconnect.de>2018-12-04 08:14:19 +0100
commita1f93b2434ae34272419d54d875e21be0329a946 (patch)
tree639f73d8e9b8425ba3d3fa713e1277ba3622d961
parent59fa32ed740080495dbbc255106ac09793a9e9d8 (diff)
downloadSheMov-a1f93b2434ae34272419d54d875e21be0329a946.tar.gz
SheMov-a1f93b2434ae34272419d54d875e21be0329a946.tar.bz2
SheMov-a1f93b2434ae34272419d54d875e21be0329a946.zip
Raise the viewer before setting the main window
-rw-r--r--fswidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fswidget.cpp b/fswidget.cpp
index 7a9a252..8918577 100644
--- a/fswidget.cpp
+++ b/fswidget.cpp
@@ -558,6 +558,7 @@ void FSWidget::doubleClicked(const QModelIndex &idx){
if(mime.startsWith("image")){
mViewer->setFile(idx.data(FullPathRole).toString());
mViewer->showMaximized();
+ mViewer->raise();
qApp->setActiveWindow(mViewer);
}else if(mime.startsWith("video")){
playSelected(1, QString());