mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Scroll the list of tweaks when using the keyboard
This commit is contained in:
parent
c3301f8cc3
commit
a2eb555456
@ -374,6 +374,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
self.changed()
|
||||
|
||||
def current_changed(self, current, previous):
|
||||
self.tweaks_view.scrollTo(current)
|
||||
tweak = self.tweaks.data(current, Qt.UserRole)
|
||||
self.help.setPlainText(tweak.doc)
|
||||
self.edit_tweak.setPlainText(tweak.edit_text)
|
||||
|
Loading…
x
Reference in New Issue
Block a user