mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:39:03 +08: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
@ -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…
x
Reference in New Issue
Block a user