1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Fix dictionary editor steals focus when reloading script.

This commit is contained in:
ajreckof
2024-12-30 16:27:05 +01:00
parent efa144396d
commit ba3f2bf4a3

View File

@@ -1287,7 +1287,7 @@ EditorPropertyDictionary::EditorPropertyDictionary() {
change_type = memnew(PopupMenu);
add_child(change_type);
change_type->connect(SceneStringName(id_pressed), callable_mp(this, &EditorPropertyDictionary::_change_type_menu));
changing_type_index = -1;
changing_type_index = EditorPropertyDictionaryObject::NOT_CHANGING_TYPE;
has_borders = true;
key_subtype = Variant::NIL;