mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Add mouse area to prevent clickthroughs
CURA-6283
This commit is contained in:
parent
bd39a9c591
commit
9bc89534bf
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ Item
|
||||||
width: UM.Theme.getSize("objects_menu_size").width
|
width: UM.Theme.getSize("objects_menu_size").width
|
||||||
property bool opened: UM.Preferences.getValue("cura/show_list_of_objects")
|
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
|
Button
|
||||||
{
|
{
|
||||||
id: openCloseButton
|
id: openCloseButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue