mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix home button on book list top bar not always working
This commit is contained in:
parent
1aac334e64
commit
7c1b3ce702
@ -71,6 +71,8 @@ apply_url_state.back_from_current = def back_from_current(current_query):
|
|||||||
if '^' in q.panel:
|
if '^' in q.panel:
|
||||||
q = {k:q[k] for k in q}
|
q = {k:q[k] for k in q}
|
||||||
q.panel = q.panel.rpartition('^')[0]
|
q.panel = q.panel.rpartition('^')[0]
|
||||||
|
elif q.panel is 'book_list':
|
||||||
|
q = {}
|
||||||
else:
|
else:
|
||||||
q = {'panel':'book_list'}
|
q = {'panel':'book_list'}
|
||||||
lid = current_library_id()
|
lid = current_library_id()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user