From 88f6d769c889ff4cb3e9d3cfae2f6bffaf53221d Mon Sep 17 00:00:00 2001 From: pax Date: Sat, 11 Apr 2026 22:19:38 -0500 Subject: [PATCH] settings: reset dialog platform cache on save Calls reset_gtk_cache() after writing file_dialog_platform so the next dialog open picks up the new value without restarting. --- booru_viewer/gui/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/booru_viewer/gui/settings.py b/booru_viewer/gui/settings.py index 40d8116..7a361ab 100644 --- a/booru_viewer/gui/settings.py +++ b/booru_viewer/gui/settings.py @@ -825,5 +825,7 @@ class SettingsDialog(QDialog): self._db.add_blacklisted_tag(tag) if self._file_dialog_combo is not None: self._db.set_setting("file_dialog_platform", self._file_dialog_combo.currentText()) + from .dialogs import reset_gtk_cache + reset_gtk_cache() self.settings_changed.emit() self.accept()