1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[Scene] Add SceneStringNames::id_pressed

This commit is contained in:
A Thousand Ships
2024-05-14 14:13:31 +02:00
parent 505da68b26
commit 755a0efbb6
72 changed files with 163 additions and 161 deletions

View File

@@ -1794,7 +1794,7 @@ CodeTextEditor::CodeTextEditor() {
zoom_menu->set_item_metadata(i, z);
}
zoom_menu->connect("id_pressed", callable_mp(this, &CodeTextEditor::_zoom_popup_id_pressed));
zoom_menu->connect(SceneStringName(id_pressed), callable_mp(this, &CodeTextEditor::_zoom_popup_id_pressed));
status_bar->add_child(memnew(VSeparator));