diff --git a/src/calibre/gui2/tag_browser/ui.py b/src/calibre/gui2/tag_browser/ui.py index c9a1e158b6..f358aa5b0f 100644 --- a/src/calibre/gui2/tag_browser/ui.py +++ b/src/calibre/gui2/tag_browser/ui.py @@ -301,7 +301,7 @@ class TagBrowserMixin(object): # {{{ msg = _('%s and its children will be deleted from all books. ' 'Are you sure?')%orig_name else: - skip_dialog_name='tag_item_delete', + skip_dialog_name='tag_item_delete' if restrict_to_book_ids: msg = _('%s will be deleted from books in the Virtual library. Are you sure?')%orig_name else: