diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2019-12-30 17:04:29 +0000 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2019-12-30 17:04:29 +0000 |
commit | 4c7d02dea1a601b89a6ba438c04b4764ba5e0360 (patch) | |
tree | 7514f4bd9afcdf5de599c354319c5884c44cdeff | |
parent | b8e8f4942d5ae49d4661ed685486abcc8b5cbd55 (diff) |
Fix wrong project opening in some situations, hidden nodes were not reordered
-rw-r--r-- | editor/project_manager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index a913c494a3..44a817ec96 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1409,9 +1409,7 @@ void ProjectList::sort_projects() { for (int i = 0; i < _projects.size(); ++i) { Item &item = _projects.write[i]; - if (item.control->is_visible()) { - item.control->get_parent()->move_child(item.control, i); - } + item.control->get_parent()->move_child(item.control, i); } // Rewind the coroutine because order of projects changed |