mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Bug #2015427: Dragging cell to user category causes search filter to break
This commit is contained in:
parent
acc1629efb
commit
da5a646e60
@ -110,7 +110,11 @@ class TagBrowserMixin: # {{{
|
||||
self.library_view.model().count_changed()
|
||||
|
||||
def user_categories_edited(self):
|
||||
self.library_view.model().refresh()
|
||||
current_row_id = self.library_view.current_id
|
||||
self.library_view.model().refresh(reset=True)
|
||||
self.library_view.model().research(reset=False)
|
||||
self.library_view.current_id = current_row_id # the setter checks for None
|
||||
|
||||
|
||||
def do_restriction_error(self, e):
|
||||
error_dialog(self.tags_view, _('Invalid search restriction'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user