Add mousearea to prevent clicking through the printSetupSelector

CURA-6478
This commit is contained in:
Jaime van Kessel 2019-04-29 10:38:05 +02:00
parent 8d0a31dcfb
commit db1a5ec8c0
2 changed files with 8 additions and 1 deletions

View File

@ -391,7 +391,7 @@ UM.MainWindow
PrintSetupTooltip PrintSetupTooltip
{ {
id: tooltip id: tooltip
sourceWidth: UM.Theme.getSize("print_setup_widget").width sourceWidth: UM.Theme.getSize("print_setup_widget").width
} }
} }

View File

@ -25,6 +25,13 @@ Item
Custom = 1 Custom = 1
} }
// Catch all mouse events
MouseArea
{
anchors.fill: parent
hoverEnabled: true
}
// Set the current mode index to the value that is stored in the preferences or Recommended mode otherwise. // Set the current mode index to the value that is stored in the preferences or Recommended mode otherwise.
property int currentModeIndex: property int currentModeIndex:
{ {