You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
[Scene] Add SceneStringNames::id_pressed
This commit is contained in:
@@ -841,7 +841,7 @@ EditorPropertyArray::EditorPropertyArray() {
|
||||
|
||||
change_type = memnew(PopupMenu);
|
||||
add_child(change_type);
|
||||
change_type->connect("id_pressed", callable_mp(this, &EditorPropertyArray::_change_type_menu));
|
||||
change_type->connect(SceneStringName(id_pressed), callable_mp(this, &EditorPropertyArray::_change_type_menu));
|
||||
changing_type_index = -1;
|
||||
|
||||
subtype = Variant::NIL;
|
||||
@@ -1157,7 +1157,7 @@ EditorPropertyDictionary::EditorPropertyDictionary() {
|
||||
paginator = nullptr;
|
||||
change_type = memnew(PopupMenu);
|
||||
add_child(change_type);
|
||||
change_type->connect("id_pressed", callable_mp(this, &EditorPropertyDictionary::_change_type_menu));
|
||||
change_type->connect(SceneStringName(id_pressed), callable_mp(this, &EditorPropertyDictionary::_change_type_menu));
|
||||
changing_type_index = -1;
|
||||
has_borders = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user