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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-11 07:43:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-11 07:43:53 +0300
commit191e812f3674d16c42468b9dcb7d7422e7946ec6 (patch)
tree944ef8ccad7f9479fa64bc03171002d35d594418 /source/blender/windowmanager/intern
parent459c4e8e6ec9cb6bf2f9f59a60d9984aca0b3019 (diff)
Fix auto-run warning RNA type
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index cc3c4ed235d..04a73d9b917 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -2424,7 +2424,7 @@ static uiBlock *block_create_autorun_warning(struct bContext *C, struct ARegion
uiItemS(layout);
PointerRNA pref_ptr;
- RNA_pointer_create(NULL, &RNA_PreferencesSystem, &U, &pref_ptr);
+ RNA_pointer_create(NULL, &RNA_PreferencesFilePaths, &U, &pref_ptr);
uiItemR(layout, &pref_ptr, "use_scripts_auto_execute", 0, IFACE_("Permanently allow execution of scripts"), ICON_NONE);
uiItemS(layout);