feat: add on refresh while still connecting
This commit is contained in:
parent
061c9945db
commit
fbea11ee9c
1 changed files with 6 additions and 0 deletions
|
|
@ -198,6 +198,12 @@ Item {
|
||||||
property string password: ""
|
property string password: ""
|
||||||
property string security: ""
|
property string security: ""
|
||||||
running: false
|
running: false
|
||||||
|
onStarted: {
|
||||||
|
refreshIndicator.running = true;
|
||||||
|
}
|
||||||
|
onExited: (exitCode, exitStatus) => {
|
||||||
|
refreshIndicator.running = false;
|
||||||
|
}
|
||||||
command: {
|
command: {
|
||||||
if (password) {
|
if (password) {
|
||||||
return ["nmcli", "device", "wifi", "connect", ssid, "password", password]
|
return ["nmcli", "device", "wifi", "connect", ssid, "password", password]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue