From 99a23633667c96bdc8623daa01639567a18b6785 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sat, 5 Oct 2024 20:18:51 +0200 Subject: [PATCH] app: Add Refresh action --- app/qml/FindDevicesPage.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/qml/FindDevicesPage.qml b/app/qml/FindDevicesPage.qml index eb8a30a96..e4b9a59ec 100644 --- a/app/qml/FindDevicesPage.qml +++ b/app/qml/FindDevicesPage.qml @@ -28,6 +28,15 @@ Kirigami.ScrollablePage refreshResetTimer.start() } + actions: Kirigami.Action { + text: i18nc("@action:intoolbar", "Refresh") + icon.name: 'view-refresh-symbolic' + onTrigerred: { + DaemonDbusInterface.forceOnNetworkChange() + refreshResetTimer.start() + } + } + Timer { id: refreshResetTimer interval: 1000