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.
This commit is contained in:
parent
5812f54877
commit
88f6d769c8
@ -825,5 +825,7 @@ class SettingsDialog(QDialog):
|
|||||||
self._db.add_blacklisted_tag(tag)
|
self._db.add_blacklisted_tag(tag)
|
||||||
if self._file_dialog_combo is not None:
|
if self._file_dialog_combo is not None:
|
||||||
self._db.set_setting("file_dialog_platform", self._file_dialog_combo.currentText())
|
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.settings_changed.emit()
|
||||||
self.accept()
|
self.accept()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user