This commit is contained in:
Kovid Goyal 2011-08-13 21:24:50 -06:00
parent 9b06f9046d
commit cb3056c9ee
2 changed files with 2 additions and 0 deletions

View File

@ -610,6 +610,7 @@ class ShortcutConfig(QWidget): # {{{
self.view.selectionModel().select(idx,
self.view.selectionModel().ClearAndSelect)
self.view.setCurrentIndex(idx)
self.view.setFocus(Qt.OtherFocusReason)
def find_next(self, *args):
idx = self.view.currentIndex()

View File

@ -239,6 +239,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
self.plugin_view.selectionModel().select(idx,
self.plugin_view.selectionModel().ClearAndSelect)
self.plugin_view.setCurrentIndex(idx)
self.plugin_view.setFocus(Qt.OtherFocusReason)
def find_next(self, *args):
idx = self.plugin_view.currentIndex()