Skip to content

Commit

Permalink
Fix dictionary editor steals focus when reloading script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreckof committed Dec 30, 2024
1 parent efa1443 commit ba3f2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_properties_array_dict.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba3f2bf

Please sign in to comment.