diff --git a/ground/openpilotgcs/src/plugins/welcome/qml/ScrollDecorator.qml b/ground/openpilotgcs/src/plugins/welcome/qml/ScrollDecorator.qml index a393690ae..24c79c927 100644 --- a/ground/openpilotgcs/src/plugins/welcome/qml/ScrollDecorator.qml +++ b/ground/openpilotgcs/src/plugins/welcome/qml/ScrollDecorator.qml @@ -6,9 +6,12 @@ Rectangle { property Flickable flickableItem: null Loader { + id: scrollLoader sourceComponent: scrollDecorator.flickableItem ? scrollBar : undefined } + Component.onDestruction: scrollLoader.sourceComponent = undefined + Component { id: scrollBar Rectangle {