diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-30 23:09:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 23:09:24 +0100 |
commit | 5fa1905131bc20e8a4a939d0edf8370091c88a50 (patch) | |
tree | 8dd51f7cf6b5962147c31e5fee1c494986fcd97f /editor | |
parent | 97ebde45d58bf54ee4cc8fbbe56097c4b5cffec8 (diff) | |
parent | 4c7d02dea1a601b89a6ba438c04b4764ba5e0360 (diff) |
Merge pull request #34702 from Zylann/fix_project_manager_opens_wrong_project
Fix wrong project opening in some situations
Diffstat (limited to 'editor')
-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 |