summaryrefslogtreecommitdiffstats
path: root/src/settingsui/network/WiredSettings.qml
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-08-03 03:00:03 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-08-03 03:00:03 +0200
commitca09bb69645cafe38e16c368c49b2864e75892ed (patch)
tree20bf42ab2e0948122a8d4584748a2e78ba05bf10 /src/settingsui/network/WiredSettings.qml
parent321353b82fef7c675a5d62bb38c913fdc41e4f27 (diff)
parent51cd8493b5d3d7d4e74d3733df6d8ad12f1866fe (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'src/settingsui/network/WiredSettings.qml')
-rw-r--r--src/settingsui/network/WiredSettings.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settingsui/network/WiredSettings.qml b/src/settingsui/network/WiredSettings.qml
index 3bf211e..11c6c24 100644
--- a/src/settingsui/network/WiredSettings.qml
+++ b/src/settingsui/network/WiredSettings.qml
@@ -45,8 +45,9 @@ Item {
}
onServiceChanged: {
- if (!service) {
- service = NetworkSettingsManager.services.itemFromRow(0);
+ NetworkSettingsManager.services.type = NetworkSettingsType.Wired;
+ if (!root.service) {
+ root.service = NetworkSettingsManager.services.itemFromRow(0);
}
}