controlcenter: fix bug, couldn't select wifi network while ethernet interface was selected
This commit is contained in:
parent
ebc2772b3e
commit
c30022b75e
1 changed files with 9 additions and 7 deletions
|
|
@ -145,6 +145,7 @@ RowLayout {
|
|||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
root.session.network.active = null;
|
||||
root.session.ethernet.active = modelData;
|
||||
}
|
||||
}
|
||||
|
|
@ -278,6 +279,7 @@ RowLayout {
|
|||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
root.session.ethernet.active = null;
|
||||
root.session.network.active = modelData;
|
||||
// Check if we need to refresh saved connections when selecting a network
|
||||
if (modelData && modelData.ssid) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue