Add a MouseArea at the bottom of filePane to catch any mouse events not captured by other elements

This commit is contained in:
Arjen Hiemstra 2015-02-11 14:55:34 +01:00
parent 64b76b1fec
commit 943bb9ea48

View file

@ -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;