diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-11-27 10:38:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-11-27 10:40:09 +0300 |
commit | 3bd6c8bfa256793170a21130d398c16da1192473 (patch) | |
tree | 444e403f10cf2595d810c99373c793b9046d4de0 /source/blender | |
parent | d4161845b28b83e2a49bca24b749afb4d0ab8af6 (diff) |
WM: don't change selection on workspace append
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c index 534e6c1bff4..84288740df8 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -391,6 +391,7 @@ static void workspace_append_button( WM_OP_EXEC_DEFAULT, 0, &opptr); RNA_string_set(&opptr, "directory", lib_path); RNA_string_set(&opptr, "filename", id->name + 2); + RNA_boolean_set(&opptr, "autoselect", false); } ATTR_NONNULL(1, 2) |