From fbea11ee9c10d7c4d698a0c73ac0d5c579c9fc07 Mon Sep 17 00:00:00 2001 From: JPratama7 Date: Sun, 3 Aug 2025 08:35:53 +0700 Subject: [PATCH] feat: add on refresh while still connecting --- Widgets/Sidebar/Panel/WifiPanel.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Widgets/Sidebar/Panel/WifiPanel.qml b/Widgets/Sidebar/Panel/WifiPanel.qml index 127ad4f..dc696c1 100644 --- a/Widgets/Sidebar/Panel/WifiPanel.qml +++ b/Widgets/Sidebar/Panel/WifiPanel.qml @@ -198,6 +198,12 @@ Item { property string password: "" property string security: "" running: false + onStarted: { + refreshIndicator.running = true; + } + onExited: (exitCode, exitStatus) => { + refreshIndicator.running = false; + } command: { if (password) { return ["nmcli", "device", "wifi", "connect", ssid, "password", password]