mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Add a MouseArea at the bottom of filePane to catch any mouse events not captured by other elements
This commit is contained in:
parent
64b76b1fec
commit
943bb9ea48
1 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,15 @@ Rectangle {
|
|||
UM.Models.directoryListModel.directory = file
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent;
|
||||
acceptedButtons: Qt.AllButtons;
|
||||
|
||||
onWheel: {
|
||||
wheel.accepted = true;
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent;
|
||||
anchors.margins: UM.Theme.defaultMargin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue