summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2015-01-25 05:53:42 +0100
committerArno <am@disconnect.de>2015-01-25 05:53:42 +0100
commit986f65aa0cb28410ecff33cc787e912b1a1a1cfe (patch)
treeee71758ff42cc422e1682086be4d69fe4d34bd57 /shemov.cpp
parentfb0626d4c624bdb640628b9c2dad93d62d90885c (diff)
downloadSheMov-986f65aa0cb28410ecff33cc787e912b1a1a1cfe.tar.gz
SheMov-986f65aa0cb28410ecff33cc787e912b1a1a1cfe.tar.bz2
SheMov-986f65aa0cb28410ecff33cc787e912b1a1a1cfe.zip
Set focus on ArchiveTree after search
SetFocus() on ArchiveTree after doubleclicking a search result, so we can see the selection even after changing the tab.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 202bd95..4a6094b 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -1109,5 +1109,6 @@ void SheMov::searchResult(int seriesPartId){
mSearchDialog->hide();
mTab->setCurrentIndex(Movies);
ArchiveController *c = SmGlobals::instance()->archiveController();
+ c->archiveTree()->setFocus();
c->setSeriesPart(seriesPartId);
}