From e0993ac5b7761d448c80c0b09f7b179117273142 Mon Sep 17 00:00:00 2001 From: KeksNino Date: Fri, 10 Apr 2026 19:17:44 +0200 Subject: [PATCH] fix: save_settings function call when pressing button in notification popup --- src/data/hosts/megadb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/hosts/megadb.py b/src/data/hosts/megadb.py index e73989d..0068f6f 100644 --- a/src/data/hosts/megadb.py +++ b/src/data/hosts/megadb.py @@ -23,7 +23,7 @@ def show_megadb_notification(): notification_popup.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground) button = notification_popup.addButton("Don't show again", QMessageBox.ButtonRole.AcceptRole) button.clicked.connect(lambda: setattr(state, "show_megadb_notification", False)) - save_settings(show_megadb_notification=False) + save_settings(show_megadb_notification=state.show_megadb_notification) notification_popup.exec() def scrape_megadb(url):