diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-14 14:13:31 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-30 22:54:04 +0200 |
commit | 755a0efbb66ce40ec7399103b34094e734bf09bf (patch) | |
tree | 909dabab0f5c7339299955c9e772525c585ce774 /editor/code_editor.cpp | |
parent | 505da68b261be6ed37b42422c61358ff9d208748 (diff) | |
download | redot-engine-755a0efbb66ce40ec7399103b34094e734bf09bf.tar.gz |
[Scene] Add `SceneStringNames::id_pressed`
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 253157a561..0e272429a3 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -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)); |