diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2024-06-01 13:15:13 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2024-08-28 15:14:26 +0300 |
commit | 52889ab7ee68d7814d2c443247f16445add89b7c (patch) | |
tree | fe76c7cb88186c01510d4e1f5195108d66316a79 /editor/plugins/particle_process_material_editor_plugin.cpp | |
parent | f648de1a83cf006dbfdaa075219ad4348628e58f (diff) | |
download | redot-engine-52889ab7ee68d7814d2c443247f16445add89b7c.tar.gz |
[Scene] Add SceneStringName::toggled
Diffstat (limited to 'editor/plugins/particle_process_material_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/particle_process_material_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/particle_process_material_editor_plugin.cpp b/editor/plugins/particle_process_material_editor_plugin.cpp index 79c9c69584..67c9403aaf 100644 --- a/editor/plugins/particle_process_material_editor_plugin.cpp +++ b/editor/plugins/particle_process_material_editor_plugin.cpp @@ -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); } |