diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2026-01-12 16:17:46 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2026-01-12 16:17:46 +1100 |
| commit | a6f54084cac51daeb079b6cdfaaba5b33288457f (patch) | |
| tree | 311d10fcdb8f1ac8d4728fdcdb99bf49f996dbbf /modules/bar | |
| parent | readme: add discord invite (diff) | |
| download | caelestia-shell-a6f54084cac51daeb079b6cdfaaba5b33288457f.tar.gz caelestia-shell-a6f54084cac51daeb079b6cdfaaba5b33288457f.tar.bz2 caelestia-shell-a6f54084cac51daeb079b6cdfaaba5b33288457f.zip | |
popouts/network: fix rescan circ prog center
Diffstat (limited to 'modules/bar')
| -rw-r--r-- | modules/bar/popouts/Network.qml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/modules/bar/popouts/Network.qml b/modules/bar/popouts/Network.qml index 0e99613..5b32e4a 100644 --- a/modules/bar/popouts/Network.qml +++ b/modules/bar/popouts/Network.qml @@ -131,17 +131,13 @@ ColumnLayout { Nmcli.disconnectFromNetwork(); } else { root.connectingToSsid = networkItem.modelData.ssid; - NetworkConnection.handleConnect( - networkItem.modelData, - null, - (network) => { - // Password is required - show password dialog - root.passwordNetwork = network; - root.showPasswordDialog = true; - root.wrapper.currentName = "wirelesspassword"; - } - ); - + NetworkConnection.handleConnect(networkItem.modelData, null, network => { + // Password is required - show password dialog + root.passwordNetwork = network; + root.showPasswordDialog = true; + root.wrapper.currentName = "wirelesspassword"; + }); + // Clear connecting state if connection succeeds immediately (saved profile) // This is handled by the onActiveChanged connection below } @@ -216,7 +212,7 @@ ColumnLayout { anchors.centerIn: parent strokeWidth: Appearance.padding.small / 2 bgColour: "transparent" - implicitHeight: parent.implicitHeight - Appearance.padding.smaller * 2 + implicitSize: parent.implicitHeight - Appearance.padding.smaller * 2 running: Nmcli.scanning } } |