Add keyboard support to comboBox, HistoryList. Fix some issues with keyboard support.
[mdictionary] / src / mdictionary / gui / HistoryListDialog.cpp
index 804f907..e5bb27c 100644 (file)
@@ -55,6 +55,8 @@ HistoryListDialog::HistoryListDialog(QStringList words, QWidget *parent):
 
     QGraphicsObject *rootObject = view->rootObject();
 
+    view->setFocus();
+
     connect(rootObject,SIGNAL(selectedRow(int)),
             this,SLOT(itemClicked(int)));