diff options
author | volzhs <volzhs@gmail.com> | 2018-06-09 20:07:58 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2018-06-09 20:07:58 +0900 |
commit | 12f93e9a0e294edd02790d955d7780a7988667c5 (patch) | |
tree | b04e402bbcf48b5a63ca86a3d0d66401cdf3bf24 /editor | |
parent | 257d3c3f39fd144d202f112c9cb08a82c174afbc (diff) |
Fix drag and drop autoload
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_autoload_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp index de9203232c..5b6594d233 100644 --- a/editor/editor_autoload_settings.cpp +++ b/editor/editor_autoload_settings.cpp @@ -610,8 +610,8 @@ void EditorAutoloadSettings::drop_data_fw(const Point2 &p_point, const Variant & i = 0; for (List<AutoLoadInfo>::Element *E = autoload_cache.front(); E; E = E->next()) { - undo_redo->add_do_method(ProjectSettings::get_singleton(), "set_order", E->get().name, orders[i++]); - undo_redo->add_undo_method(ProjectSettings::get_singleton(), "set_order", E->get().name, E->get().order); + undo_redo->add_do_method(ProjectSettings::get_singleton(), "set_order", "autoload/" + E->get().name, orders[i++]); + undo_redo->add_undo_method(ProjectSettings::get_singleton(), "set_order", "autoload/" + E->get().name, E->get().order); } orders.clear(); |