diff --git a/src/ViewWidgets/ViewWidget.qml b/src/ViewWidgets/ViewWidget.qml index aab2e57cca8ffa22466aecb5466b9f78c4124dad..b8cfc7e7cd2a8c00dc12604164e4c83189b4c73e 100644 --- a/src/ViewWidgets/ViewWidget.qml +++ b/src/ViewWidgets/ViewWidget.qml @@ -25,8 +25,9 @@ Rectangle { } onPluginDisconnected: { + pageLoader.sourceComponent = null pageLoader.sourceComponent = disconnectedComponent - pageLoader.autopilot = {} + pageLoader.autopilot = null } }