diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-04 09:23:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-04 09:23:07 +0300 |
commit | 67a617e1962b4cb332b0d5d6c5c2a42948f77416 (patch) | |
tree | 06695f14dfc09ec794eceb59dbd0b4f1edd0d7c1 /release/scripts | |
parent | 7aa47083d07ea572fca548ecd35857d68176e10c (diff) |
Cleanup: move auto-execute operators into userpref_ops.c
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 63fc44aed38..436d866886b 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1284,12 +1284,12 @@ class USERPREF_PT_saveload_autorun(FilePathsPanel, Panel): box = layout.box() row = box.row() row.label(text="Excluded Paths:") - row.operator("wm.userpref_autoexec_path_add", text="", icon='ADD', emboss=False) + row.operator("preferences.autoexec_path_add", text="", icon='ADD', emboss=False) for i, path_cmp in enumerate(prefs.autoexec_paths): row = box.row() row.prop(path_cmp, "path", text="") row.prop(path_cmp, "use_glob", text="", icon='FILTER') - row.operator("wm.userpref_autoexec_path_remove", text="", icon='X', emboss=False).index = i + row.operator("preferences.autoexec_path_remove", text="", icon='X', emboss=False).index = i # ----------------------------------------------------------------------------- |