Merge pull request #88849 from ajreckof/Fix-paste-Value-can-empty-a-dictionary-depending-on-right-click-location
Fix paste Value can empty a dictionary depending on right-click location
This commit is contained in:
commit
8eb34cb78b
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue