mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
9b06f9046d
commit
cb3056c9ee
@ -610,6 +610,7 @@ class ShortcutConfig(QWidget): # {{{
|
|||||||
self.view.selectionModel().select(idx,
|
self.view.selectionModel().select(idx,
|
||||||
self.view.selectionModel().ClearAndSelect)
|
self.view.selectionModel().ClearAndSelect)
|
||||||
self.view.setCurrentIndex(idx)
|
self.view.setCurrentIndex(idx)
|
||||||
|
self.view.setFocus(Qt.OtherFocusReason)
|
||||||
|
|
||||||
def find_next(self, *args):
|
def find_next(self, *args):
|
||||||
idx = self.view.currentIndex()
|
idx = self.view.currentIndex()
|
||||||
|
@ -239,6 +239,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
self.plugin_view.selectionModel().select(idx,
|
self.plugin_view.selectionModel().select(idx,
|
||||||
self.plugin_view.selectionModel().ClearAndSelect)
|
self.plugin_view.selectionModel().ClearAndSelect)
|
||||||
self.plugin_view.setCurrentIndex(idx)
|
self.plugin_view.setCurrentIndex(idx)
|
||||||
|
self.plugin_view.setFocus(Qt.OtherFocusReason)
|
||||||
|
|
||||||
def find_next(self, *args):
|
def find_next(self, *args):
|
||||||
idx = self.plugin_view.currentIndex()
|
idx = self.plugin_view.currentIndex()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user