diff options
author | Julian Eisel <julian@blender.org> | 2021-07-30 17:23:17 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-07-30 17:25:34 +0300 |
commit | 3316e28418a2ce624c61324d8d3fd284afabf71b (patch) | |
tree | b9f546de61a72d696113576a2fed7836516e3763 /release | |
parent | e7e9364d23b14aad07d167cea00c2bd54bedfb07 (diff) |
Preferences: Move "Register File Association" to preferences level
The operator was register as a "file" operator, which are by convention
used for File Browser operators only. Move it to the "preferences"
operators, where it's displayed in the UI too.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 7e6fde1ebaf..91bd5f04b9d 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -619,7 +619,7 @@ class USERPREF_PT_system_os_settings(SystemPanel, CenterAlignMixIn, Panel): split = layout.split(factor=0.4) split.alignment = 'RIGHT' split.label(text="") - split.operator("file.associate_blend", text="Make Default") + split.operator("preferences.associate_blend", text="Make Default") class USERPREF_PT_system_memory(SystemPanel, CenterAlignMixIn, Panel): |