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:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 67530ba71ee..6f80b4394b6 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -609,7 +609,7 @@ class TOPBAR_MT_file(Menu):
layout.operator_context = 'INVOKE_AREA'
if any(bpy.utils.app_template_paths()):
- app_template = context.user_preferences.app_template
+ app_template = context.preferences.app_template
else:
app_template = None
@@ -647,7 +647,7 @@ class TOPBAR_MT_file(Menu):
layout.separator()
layout.operator_context = 'EXEC_AREA'
- if bpy.data.is_dirty and context.user_preferences.view.use_quit_dialog:
+ if bpy.data.is_dirty and context.preferences.view.use_quit_dialog:
layout.operator_context = 'INVOKE_SCREEN' # quit dialog
layout.operator("wm.quit_blender", text="Quit", icon='QUIT')
@@ -894,7 +894,7 @@ class TOPBAR_MT_help(Menu):
def draw(self, context):
layout = self.layout
- show_developer = context.user_preferences.view.show_developer_ui
+ show_developer = context.preferences.view.show_developer_ui
layout.operator(
"wm.url_open", text="Manual", icon='HELP',