mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 03:03:32 +02:00
Clear the Book details panel when the current search returns no matches. Fixes #1153026 (Calibre not blanking the book details panel)
This commit is contained in:
parent
62211f4006
commit
941ee89957
1 changed files with 3 additions and 0 deletions
|
|
@ -94,6 +94,9 @@ def search_done(self, view, ok):
|
|||
v = self.current_view()
|
||||
if hasattr(v, 'set_current_row'):
|
||||
v.set_current_row(0)
|
||||
if v is self.library_view and v.row_count() == 0:
|
||||
self.book_details.reset_info()
|
||||
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue