Fix auto-run warning RNA type

This commit is contained in:
Campbell Barton 2019-01-11 15:43:53 +11:00
parent 459c4e8e6e
commit 191e812f36
1 changed files with 1 additions and 1 deletions

View File

@ -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);