Hide MDIEd's toggle button by default.

This commit is contained in:
Relintai 2022-08-20 02:07:52 +02:00
parent 07d3771a12
commit a426e173f5

View File

@ -896,6 +896,7 @@ MDIEd::MDIEd() {
_edit_mode_button->set_tooltip(TTR("Edit MeshDataResource.")); _edit_mode_button->set_tooltip(TTR("Edit MeshDataResource."));
_edit_mode_button->connect("toggled", this, "_edit_mode_toggled"); _edit_mode_button->connect("toggled", this, "_edit_mode_toggled");
SpatialEditor::get_singleton()->add_control_to_menu_panel(_edit_mode_button); SpatialEditor::get_singleton()->add_control_to_menu_panel(_edit_mode_button);
_edit_mode_button->hide();
_editing = false; _editing = false;
} }