mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix incorrect titles on book list prefs panels
This commit is contained in:
parent
0f8c8d71a1
commit
3453380fe0
@ -232,8 +232,10 @@ def prefs_panel_handler(title, get_prefs_data, on_close=None, icon='close'):
|
||||
on_close()
|
||||
back()
|
||||
|
||||
return def init_prefs_panel(container_id): # noqa:unused-local
|
||||
def init_prefs_panel(container_id):
|
||||
container = document.getElementById(container_id)
|
||||
create_top_bar(container, title, action=close_action, icon=icon)
|
||||
create_top_bar(container, title=title, action=close_action, icon=icon)
|
||||
container.appendChild(E.div())
|
||||
create_prefs_widget(container.lastChild, get_prefs_data())
|
||||
|
||||
return init_prefs_panel
|
||||
|
Loading…
x
Reference in New Issue
Block a user