From e515c19d056ea26064d6b03e687bc05f318a967d Mon Sep 17 00:00:00 2001 From: pax Date: Sun, 5 Apr 2026 13:05:17 -0500 Subject: [PATCH] =?UTF-8?q?Don't=20clear=20preview=20on=20blacklist=20?= =?UTF-8?q?=E2=80=94=20just=20re-search?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Blacklisting a tag or post no longer clears the preview of an unrelated post. The search reloads and the blacklisted post simply disappears from the grid. --- booru_viewer/gui/app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/booru_viewer/gui/app.py b/booru_viewer/gui/app.py index 68dc7a6..dd86f73 100644 --- a/booru_viewer/gui/app.py +++ b/booru_viewer/gui/app.py @@ -1320,12 +1320,10 @@ class BooruApp(QMainWindow): tag = action.text() self._db.add_blacklisted_tag(tag) self._db.set_setting("blacklist_enabled", "1") - self._preview.clear() self._status.showMessage(f"Blacklisted: {tag}") self._do_search() elif action == bl_post_action: self._db.add_blacklisted_post(post.file_url) - self._preview.clear() self._status.showMessage(f"Post #{post.id} blacklisted") self._do_search()