From 943bb9ea48fb4ef18edbcec4d6d6bb5e5d00eef3 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Wed, 11 Feb 2015 14:55:34 +0100 Subject: [PATCH] Add a MouseArea at the bottom of filePane to catch any mouse events not captured by other elements --- FilePane.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/FilePane.qml b/FilePane.qml index 190c42b17c..b61ec98a0c 100644 --- a/FilePane.qml +++ b/FilePane.qml @@ -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;