You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Scene] Add SceneStringNames::pressed
This commit is contained in:
@@ -215,7 +215,7 @@ EditorPluginSettings::EditorPluginSettings() {
|
||||
title_hb->add_child(label);
|
||||
title_hb->add_spacer();
|
||||
Button *create_plugin_button = memnew(Button(TTR("Create New Plugin")));
|
||||
create_plugin_button->connect("pressed", callable_mp(this, &EditorPluginSettings::_create_clicked));
|
||||
create_plugin_button->connect(SceneStringName(pressed), callable_mp(this, &EditorPluginSettings::_create_clicked));
|
||||
title_hb->add_child(create_plugin_button);
|
||||
add_child(title_hb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user