mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[Scene] Add SceneStringNames::pressed
This commit is contained in:
parent
78cce1954d
commit
ee79386f7b
147 changed files with 727 additions and 722 deletions
|
@ -286,7 +286,7 @@ ShaderFileEditor::ShaderFileEditor() {
|
|||
stage_hb->add_child(button);
|
||||
stages[i] = button;
|
||||
button->set_button_group(bg);
|
||||
button->connect("pressed", callable_mp(this, &ShaderFileEditor::_version_selected).bind(i));
|
||||
button->connect(SceneStringName(pressed), callable_mp(this, &ShaderFileEditor::_version_selected).bind(i));
|
||||
}
|
||||
|
||||
error_text = memnew(RichTextLabel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue