Use SceneStringName in more places

This commit is contained in:
A Thousand Ships
2024-11-02 16:15:39 +01:00
parent 893bbdfde8
commit af56d6e8e8
41 changed files with 69 additions and 69 deletions

View File

@ -3124,7 +3124,7 @@ void AnimationTrackEdit::gui_input(const Ref<InputEvent> &p_event) {
path = memnew(LineEdit);
path_popup->add_child(path);
path->set_anchors_and_offsets_preset(PRESET_FULL_RECT);
path->connect("text_submitted", callable_mp(this, &AnimationTrackEdit::_path_submitted));
path->connect(SceneStringName(text_submitted), callable_mp(this, &AnimationTrackEdit::_path_submitted));
}
path->set_text(animation->track_get_path(track));