From 841b6ae6e87e4bc05c86d68120c2fa8bb9e078e2 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 17 Jul 2024 19:04:39 +0200 Subject: [PATCH] Fixed Devices button not working on the controller page --- ControllerTabPage.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() } } }