mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[Scene] Add SceneStringName::toggled
This commit is contained in:
parent
f648de1a83
commit
52889ab7ee
44 changed files with 74 additions and 72 deletions
|
@ -6382,7 +6382,7 @@ VisualShaderEditor::VisualShaderEditor() {
|
|||
custom_mode_box->set_text(TTR("Custom"));
|
||||
custom_mode_box->set_pressed(false);
|
||||
custom_mode_box->set_visible(false);
|
||||
custom_mode_box->connect("toggled", callable_mp(this, &VisualShaderEditor::_custom_mode_toggled));
|
||||
custom_mode_box->connect(SceneStringName(toggled), callable_mp(this, &VisualShaderEditor::_custom_mode_toggled));
|
||||
|
||||
edit_type_standard = memnew(OptionButton);
|
||||
edit_type_standard->add_item(TTR("Vertex"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue