Fix auto-run warning RNA type
This commit is contained in:
parent
459c4e8e6e
commit
191e812f36
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue