mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
d264c14550
commit
e47bca25ce
@ -319,6 +319,7 @@ class Preferences(QDialog):
|
|||||||
self.bb.button(self.bb.RestoreDefaults).setToolTip(
|
self.bb.button(self.bb.RestoreDefaults).setToolTip(
|
||||||
self.showing_widget.restore_defaults_desc if self.showing_widget.supports_restoring_to_defaults else
|
self.showing_widget.restore_defaults_desc if self.showing_widget.supports_restoring_to_defaults else
|
||||||
(_('Restoring to defaults not supported for') + ' ' + plugin.gui_name))
|
(_('Restoring to defaults not supported for') + ' ' + plugin.gui_name))
|
||||||
|
self.bb.button(self.bb.RestoreDefaults).setText(_('Restore defaults'))
|
||||||
self.showing_widget.changed_signal.connect(self.changed_signal)
|
self.showing_widget.changed_signal.connect(self.changed_signal)
|
||||||
|
|
||||||
def changed_signal(self):
|
def changed_signal(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user