diff options
author | Alexander Kuznetsov <kuzsasha@gmail.com> | 2012-03-16 21:37:45 +0400 |
---|---|---|
committer | Alexander Kuznetsov <kuzsasha@gmail.com> | 2012-03-16 21:37:45 +0400 |
commit | ed44ddd816d3bcd9be2e2097e1087dcdbf9b91e1 (patch) | |
tree | 357e958f56adb04aa07e20af827c8d0b6ba5532f /release | |
parent | 2caa507b7eaa7d55a0be7bda513f08ecfe4791f1 (diff) |
Patch by Psy-Fi + my minor changes
Adds conformation on exit for windows. Needs to be enabled in user perf.
Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 9d947f6fb40..81f67bffd62 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -244,6 +244,9 @@ class USERPREF_PT_interface(Panel): col.prop(view, "show_splash") + if os.name == 'nt': + col.prop(view, "quit_dialog") + class USERPREF_PT_edit(Panel): bl_space_type = 'USER_PREFERENCES' |