mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:53:40 +02:00
Fix home button on book list top bar not always working
This commit is contained in:
parent
1aac334e64
commit
7c1b3ce702
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ def apply_url_state(state):
|
|||
if '^' in q.panel:
|
||||
q = {k:q[k] for k in q}
|
||||
q.panel = q.panel.rpartition('^')[0]
|
||||
elif q.panel is 'book_list':
|
||||
q = {}
|
||||
else:
|
||||
q = {'panel':'book_list'}
|
||||
lid = current_library_id()
|
||||
|
|
|
|||
Loading…
Reference in a new issue