diff --git a/ControllerTabPage.qml b/ControllerTabPage.qml index 70a7214..26e3787 100644 --- a/ControllerTabPage.qml +++ b/ControllerTabPage.qml @@ -4,6 +4,8 @@ import QtQuick.Layouts import EVChargerApp Page { + signal closeRequested() + function backPressed() { return false } @@ -36,7 +38,7 @@ Page { Layout.fillHeight: true text: qsTr("Devices") - onClicked: loader.close() + onClicked: closeRequested() } } }