summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-12-30 23:09:24 +0100
committerGitHub <noreply@github.com>2019-12-30 23:09:24 +0100
commit5fa1905131bc20e8a4a939d0edf8370091c88a50 (patch)
tree8dd51f7cf6b5962147c31e5fee1c494986fcd97f /editor
parent97ebde45d58bf54ee4cc8fbbe56097c4b5cffec8 (diff)
parent4c7d02dea1a601b89a6ba438c04b4764ba5e0360 (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.cpp4
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