WM: don't change selection on workspace append

This commit is contained in:
Campbell Barton
2017-11-27 18:38:59 +11:00
parent d4161845b2
commit 3bd6c8bfa2

View File

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