commit 77

This commit is contained in:
2025-08-09 00:23:25 +02:00
parent 11bcf5cc7a
commit 287ebfd1d0
5 changed files with 4 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ class CfdConfigManager:
"use_trash": False, # True or False
"confirm_delete": False, # True or False
"recursive_search": True,
"use_pillow_animation": False
"use_pillow_animation": True
}
@classmethod

View File

@@ -176,7 +176,8 @@ class SettingsDialog(tk.Toplevel):
self.recursive_search.set(defaults["recursive_search"])
self.use_trash.set(defaults["use_trash"])
self.confirm_delete.set(defaults["confirm_delete"])
self.use_pillow_animation.set(defaults.get("use_pillow_animation", False))
if PIL_AVAILABLE:
self.use_pillow_animation.set(defaults.get("use_pillow_animation", True))
self.animation_type.set(defaults.get("animation_type", "counter_arc"))

View File

@@ -33,7 +33,7 @@ class GlotzMol(tk.Tk):
dialog = CustomFileDialog(self,
initial_dir=os.path.expanduser("~"),
filetypes=[("All Files", "*.*")
])
], dialog_mode="save")
# This is the crucial part: wait for the dialog to be closed
self.wait_window(dialog)