projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add keyboard support to comboBox, HistoryList. Fix some issues with keyboard support.
[mdictionary]
/
src
/
mdictionary
/
gui
/
MainWindow.cpp
diff --git
a/src/mdictionary/gui/MainWindow.cpp
b/src/mdictionary/gui/MainWindow.cpp
index
a4942aa
..
491b12b
100644
(file)
--- a/
src/mdictionary/gui/MainWindow.cpp
+++ b/
src/mdictionary/gui/MainWindow.cpp
@@
-235,7
+235,9
@@
void MainWindow::wordListReady() {
setExactSearch(false);
}
}
- wordListWidget->setFocus();
+ WordListWidget* myWidget = qobject_cast<WordListWidget *>(wordListWidget);
+ myWidget->setFocusOnElement();
+// wordListWidget->setFocus();
}
bool MainWindow::checkExactSearch(