You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Scene] Add SceneStringNames::item_selected
This commit is contained in:
@@ -673,7 +673,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||
|
||||
feature_box = memnew(OptionButton);
|
||||
feature_box->set_custom_minimum_size(Size2(120, 0) * EDSCALE);
|
||||
feature_box->connect("item_selected", callable_mp(this, &ProjectSettingsEditor::_feature_selected));
|
||||
feature_box->connect(SceneStringName(item_selected), callable_mp(this, &ProjectSettingsEditor::_feature_selected));
|
||||
custom_properties->add_child(feature_box);
|
||||
|
||||
type_box = memnew(OptionButton);
|
||||
|
||||
Reference in New Issue
Block a user