Skip to content

Commit 5b13d71

Browse files
committed
Merge pull request #92751 from dalexeev/editor-pm-swap-date-and-version
Editor: Swap last edited date and version/warning in Project Manager
2 parents 92ea322 + 12430f9 commit 5b13d71

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

editor/project_manager/project_list.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,6 @@ ProjectListItemControl::ProjectListItemControl() {
295295
project_path->set_modulate(Color(1, 1, 1, 0.5));
296296
path_hb->add_child(project_path);
297297

298-
last_edited_info = memnew(Label);
299-
last_edited_info->set_name("LastEditedInfo");
300-
last_edited_info->set_mouse_filter(Control::MOUSE_FILTER_PASS);
301-
last_edited_info->set_tooltip_text("Last edited timestamp");
302-
last_edited_info->set_modulate(Color(1, 1, 1, 0.5));
303-
path_hb->add_child(last_edited_info);
304-
305298
project_unsupported_features = memnew(TextureRect);
306299
project_unsupported_features->set_name("ProjectUnsupportedFeatures");
307300
project_unsupported_features->set_stretch_mode(TextureRect::STRETCH_KEEP_CENTERED);
@@ -313,6 +306,13 @@ ProjectListItemControl::ProjectListItemControl() {
313306
project_version->set_mouse_filter(Control::MOUSE_FILTER_PASS);
314307
path_hb->add_child(project_version);
315308

309+
last_edited_info = memnew(Label);
310+
last_edited_info->set_name("LastEditedInfo");
311+
last_edited_info->set_mouse_filter(Control::MOUSE_FILTER_PASS);
312+
last_edited_info->set_tooltip_text(TTR("Last edited timestamp"));
313+
last_edited_info->set_modulate(Color(1, 1, 1, 0.5));
314+
path_hb->add_child(last_edited_info);
315+
316316
Control *spacer = memnew(Control);
317317
spacer->set_custom_minimum_size(Size2(10, 10));
318318
path_hb->add_child(spacer);

0 commit comments

Comments
 (0)