popouts/network: fix rescan circ prog center
This commit is contained in:
parent
1097c7fb37
commit
a6f54084ca
1 changed files with 8 additions and 12 deletions
|
|
@ -131,16 +131,12 @@ ColumnLayout {
|
||||||
Nmcli.disconnectFromNetwork();
|
Nmcli.disconnectFromNetwork();
|
||||||
} else {
|
} else {
|
||||||
root.connectingToSsid = networkItem.modelData.ssid;
|
root.connectingToSsid = networkItem.modelData.ssid;
|
||||||
NetworkConnection.handleConnect(
|
NetworkConnection.handleConnect(networkItem.modelData, null, network => {
|
||||||
networkItem.modelData,
|
|
||||||
null,
|
|
||||||
(network) => {
|
|
||||||
// Password is required - show password dialog
|
// Password is required - show password dialog
|
||||||
root.passwordNetwork = network;
|
root.passwordNetwork = network;
|
||||||
root.showPasswordDialog = true;
|
root.showPasswordDialog = true;
|
||||||
root.wrapper.currentName = "wirelesspassword";
|
root.wrapper.currentName = "wirelesspassword";
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
// Clear connecting state if connection succeeds immediately (saved profile)
|
// Clear connecting state if connection succeeds immediately (saved profile)
|
||||||
// This is handled by the onActiveChanged connection below
|
// This is handled by the onActiveChanged connection below
|
||||||
|
|
@ -216,7 +212,7 @@ ColumnLayout {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
strokeWidth: Appearance.padding.small / 2
|
strokeWidth: Appearance.padding.small / 2
|
||||||
bgColour: "transparent"
|
bgColour: "transparent"
|
||||||
implicitHeight: parent.implicitHeight - Appearance.padding.smaller * 2
|
implicitSize: parent.implicitHeight - Appearance.padding.smaller * 2
|
||||||
running: Nmcli.scanning
|
running: Nmcli.scanning
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue