Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgaiaclary <gaia.clary@machinimatrix.org>2014-01-17 01:16:43 +0400
committergaiaclary <gaia.clary@machinimatrix.org>2014-01-17 01:16:43 +0400
commit024ecf9fc1bacdb9d9c2d45a9af4924a810aea16 (patch)
tree92ab031892b1e834850f0d33ebd12df5c437ae7f /release
parent3110526bcacbb11717d99b87d3a00cc99e8b3ef1 (diff)
Forgot in previous commit to take care of user preferences
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index 769065cd12f..03b4d57621f 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -131,7 +131,7 @@ class INFO_MT_file(Menu):
layout.separator()
layout.operator_context = 'EXEC_AREA'
- if bpy.data.is_dirty:
+ if bpy.data.is_dirty and bpy.context.user_preferences.view.use_quit_dialog:
layout.operator_context = 'INVOKE_SCREEN' # quit dialog
layout.operator("wm.quit_blender", text="Quit", icon='QUIT')