You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
[Scene] Add SceneStringNames::pressed
This commit is contained in:
@@ -644,7 +644,7 @@ ShaderCreateDialog::ShaderCreateDialog() {
|
||||
hb->add_child(file_path);
|
||||
register_text_enter(file_path);
|
||||
path_button = memnew(Button);
|
||||
path_button->connect("pressed", callable_mp(this, &ShaderCreateDialog::_browse_path));
|
||||
path_button->connect(SceneStringName(pressed), callable_mp(this, &ShaderCreateDialog::_browse_path));
|
||||
hb->add_child(path_button);
|
||||
gc->add_child(memnew(Label(TTR("Path:"))));
|
||||
gc->add_child(hb);
|
||||
|
||||
Reference in New Issue
Block a user