Skip to content

Commit

Permalink
CraterCrashGH-559 Fix text_submitted due to multiple registration c…
Browse files Browse the repository at this point in the history
…alls
  • Loading branch information
Naros committed Jul 21, 2024
1 parent b52afce commit 7b00563
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/editor/search/search_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void OrchestratorEditorSearchDialog::_notification(int p_what)
_help_bit = memnew(OrchestratorEditorSearchHelpBit);
SceneUtils::add_margin_child(vbox, "Description:", _help_bit);

// register_text_enter(_search_box);
register_text_enter(_search_box);
set_hide_on_ok(false);

connect("confirmed", callable_mp(this, &OrchestratorEditorSearchDialog::_on_confirmed));
Expand Down
2 changes: 0 additions & 2 deletions src/editor/select_type_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,5 @@ void OrchestratorSelectTypeSearchDialog::popup_create(bool p_dont_clear, bool p_
set_title(_title);
set_ok_button_text("Change");

register_text_enter(_search_box);

OrchestratorEditorSearchDialog::popup_create(p_dont_clear, p_replace_mode, p_current_type, p_current_name);
}

0 comments on commit 7b00563

Please sign in to comment.