Skip to content

Commit

Permalink
Merge pull request #84539 from synalice/issue-84433
Browse files Browse the repository at this point in the history
Fix pressing Enter being ignored in "Create Shader" dialogue
  • Loading branch information
YuriSizov committed Nov 7, 2023
2 parents c3111c3 + c0a18e1 commit 30bae5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/shader_create_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ ShaderCreateDialog::ShaderCreateDialog() {
file_path->connect("text_changed", callable_mp(this, &ShaderCreateDialog::_path_changed));
file_path->set_h_size_flags(Control::SIZE_EXPAND_FILL);
hb->add_child(file_path);
register_text_enter(file_path);
path_button = memnew(Button);
path_button->connect("pressed", callable_mp(this, &ShaderCreateDialog::_browse_path));
hb->add_child(path_button);
Expand Down

0 comments on commit 30bae5b

Please sign in to comment.