From 9bc89534bfc6e836d8aff62fdfe353d06e644fdb Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 24 May 2019 12:53:34 +0200 Subject: [PATCH] Add mouse area to prevent clickthroughs CURA-6283 --- resources/qml/ObjectSelector.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/qml/ObjectSelector.qml b/resources/qml/ObjectSelector.qml index 3b7f3455b3..f2e5b6e3a7 100644 --- a/resources/qml/ObjectSelector.qml +++ b/resources/qml/ObjectSelector.qml @@ -13,6 +13,13 @@ Item width: UM.Theme.getSize("objects_menu_size").width property bool opened: UM.Preferences.getValue("cura/show_list_of_objects") + // Eat up all the mouse events (we don't want the scene to react or have the scene context menu showing up) + MouseArea + { + anchors.fill: parent + acceptedButtons: Qt.AllButtons + } + Button { id: openCloseButton