Fixed some focus and activation bugs
[mdictionary] / src / mdictionary / gui / MainWindow.cpp
index 9d2ae5a..b7e4dca 100644 (file)
@@ -231,6 +231,8 @@ void MainWindow::wordListReady() {
             setExactSearch(false);
         }
     }
+
+    wordListWidget->setFocus();
 }
 
 bool MainWindow::checkExactSearch(
@@ -255,6 +257,7 @@ void MainWindow::translationsReady() {
     #endif
 
     Q_EMIT showTranslation(backbone->xmls());
+    wordListWidget->setFocus();
     #ifdef Q_WS_MAEMO_5
         notifyManager->screenChanged();
     #endif