mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 00:34:45 +00:00
kcms/wifi: Fix toggle not updating the first time
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/363
This commit is contained in:
parent
8f9db42e8f
commit
1dfcda39d3
1 changed files with 5 additions and 5 deletions
|
|
@ -86,7 +86,7 @@ SimpleKCM {
|
|||
id: wifiSwitch
|
||||
text: i18n("Wi-Fi")
|
||||
checked: enabledConnections.wirelessEnabled
|
||||
onClicked: {
|
||||
onCheckedChanged: {
|
||||
handler.enableWireless(checked);
|
||||
checked = Qt.binding(() => enabledConnections.wirelessEnabled);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue