mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[Scene] Add SceneStringName::toggled
This commit is contained in:
parent
f648de1a83
commit
52889ab7ee
44 changed files with 74 additions and 72 deletions
|
@ -438,7 +438,7 @@ ParticleProcessMaterialMinMaxPropertyEditor::ParticleProcessMaterialMinMaxProper
|
|||
toggle_mode_button->set_toggle_mode(true);
|
||||
toggle_mode_button->set_tooltip_text(TTR("Toggle between minimum/maximum and base value/spread modes."));
|
||||
hb->add_child(toggle_mode_button);
|
||||
toggle_mode_button->connect(SNAME("toggled"), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_toggle_mode));
|
||||
toggle_mode_button->connect(SceneStringName(toggled), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_toggle_mode));
|
||||
|
||||
set_bottom_editor(content_vb);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue