mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix top bar on sort panel
This commit is contained in:
parent
6e6cadf996
commit
ff12d0be17
@ -230,7 +230,9 @@ def create_sort_panel(container_id):
|
|||||||
else:
|
else:
|
||||||
action = change_sort.bind(None, field, None)
|
action = change_sort.bind(None, field, None)
|
||||||
items.push(create_item(name, subtitle=subtitle, icon=icon_name, action=action))
|
items.push(create_item(name, subtitle=subtitle, icon=icon_name, action=action))
|
||||||
create_item_list(document.getElementById(container_id), items, _('Change how the list of books is sorted'))
|
container = document.getElementById(container_id)
|
||||||
|
container.appendChild(E.div())
|
||||||
|
create_item_list(container.lastChild, items, _('Change how the list of books is sorted'))
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user