Skip to content

Commit

Permalink
Merge pull request godotengine#88849 from ajreckof/Fix-paste-Value-ca…
Browse files Browse the repository at this point in the history
…n-empty-a-dictionary-depending-on-right-click-location

Fix paste Value can empty a dictionary depending on right-click location
  • Loading branch information
akien-mga committed Feb 26, 2024
2 parents 2fb99c1 + a817343 commit 8eb34cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions editor/editor_properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3341,6 +3341,7 @@ void EditorPropertyResource::update_property() {
sub_inspector->set_use_folding(is_using_folding());

sub_inspector_vbox = memnew(VBoxContainer);
sub_inspector_vbox->set_mouse_filter(MOUSE_FILTER_STOP);
add_child(sub_inspector_vbox);
set_bottom_editor(sub_inspector_vbox);

Expand Down
1 change: 1 addition & 0 deletions editor/editor_properties_array_dict.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ void EditorPropertyDictionary::update_property() {
if (!container) {
container = memnew(MarginContainer);
container->set_theme_type_variation("MarginContainer4px");
container->set_mouse_filter(MOUSE_FILTER_STOP);
add_child(container);
set_bottom_editor(container);

Expand Down

0 comments on commit 8eb34cb

Please sign in to comment.