commit 77
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
@@ -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"))
|
||||
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user