mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-18 23:47:53 -04:00
Fix restore defaults in main interface tab with a changed font causing an error
This commit is contained in:
parent
9d99cca285
commit
5dbdc70fd4
@ -178,7 +178,7 @@ class MainInterfaceTab(LazyConfigWidgetBase, Ui_Form):
|
||||
self.current_font = None
|
||||
if ofont is not None:
|
||||
self.changed_signal.emit()
|
||||
self.main_interface_tab.update_font_display()
|
||||
self.update_font_display()
|
||||
self.opt_gui_layout.setCurrentIndex(0)
|
||||
self.changed_signal.emit()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user