mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
|
UM.Models.directoryListModel.directory = file
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent;
|
||||||
|
acceptedButtons: Qt.AllButtons;
|
||||||
|
|
||||||
|
onWheel: {
|
||||||
|
wheel.accepted = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
anchors.margins: UM.Theme.defaultMargin;
|
anchors.margins: UM.Theme.defaultMargin;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue