mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
Show count of affected notes after tag renaming
This commit is contained in:
parent
186a0202ea
commit
337ef0ae21
1 changed files with 6 additions and 6 deletions
|
|
@ -1184,8 +1184,8 @@ class SidebarTreeView(QTreeView):
|
||||||
count = fut.result()
|
count = fut.result()
|
||||||
if not count:
|
if not count:
|
||||||
showInfo(tr(TR.BROWSING_TAG_RENAME_WARNING_EMPTY))
|
showInfo(tr(TR.BROWSING_TAG_RENAME_WARNING_EMPTY))
|
||||||
return
|
else:
|
||||||
|
tooltip(tr(TR.BROWSING_NOTES_UPDATED, count=count), parent=self)
|
||||||
self.refresh(
|
self.refresh(
|
||||||
lambda item: item.item_type == SidebarItemType.TAG
|
lambda item: item.item_type == SidebarItemType.TAG
|
||||||
and item.full_name == new_name
|
and item.full_name == new_name
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue