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
|
@ -1006,7 +1006,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
|||
toggle_vcs_choice = memnew(CheckButton);
|
||||
toggle_vcs_choice->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
toggle_vcs_choice->set_pressed_no_signal(false);
|
||||
toggle_vcs_choice->connect(SNAME("toggled"), callable_mp(this, &VersionControlEditorPlugin::_toggle_vcs_integration));
|
||||
toggle_vcs_choice->connect(SceneStringName(toggled), callable_mp(this, &VersionControlEditorPlugin::_toggle_vcs_integration));
|
||||
toggle_vcs_hbc->add_child(toggle_vcs_choice);
|
||||
|
||||
set_up_vbc->add_child(memnew(HSeparator));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue