diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-26 12:11:19 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-26 12:11:19 +0100 |
commit | 8eb34cb78bc2df3715cfdfcf4562bd36ddf91f7f (patch) | |
tree | 288fe369e66ddff942299f1f2beb1e33d3264293 | |
parent | 2fb99c187e133e4fc8c684883316bb0f614af010 (diff) | |
parent | a8173439efbbaba77352236d0d8d455c9afc897a (diff) | |
download | redot-engine-8eb34cb78bc2df3715cfdfcf4562bd36ddf91f7f.tar.gz |
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
-rw-r--r-- | editor/editor_properties.cpp | 1 | ||||
-rw-r--r-- | editor/editor_properties_array_dict.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 46a648e1b9..0517abac2b 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -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); diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 0bc412f60f..2d11c2e2d1 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -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); |