diff options
author | Ville Voutilainen <ville.voutilainen@qt.io> | 2017-06-13 17:05:24 +0300 |
---|---|---|
committer | Ville Voutilainen <ville.voutilainen@qt.io> | 2017-06-14 07:36:23 +0000 |
commit | 6179baf7ce0af0e7c86e9f837947db13f18c7ba2 (patch) | |
tree | 287ea31dfbe1c2eae38e93e8788912b2dbc2e7fa /src/settingsui/network | |
parent | 8fa6ff755739d310439e39e2bfbf4d7b5b2f410c (diff) |
Set a default netmask and gateway if the user didn't provide them
Task-number: QTBUG-60979
Change-Id: Icf0d23b080d7769c601b1835b182421dfb588638
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/settingsui/network')
-rw-r--r-- | src/settingsui/network/ComboBoxEntry.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settingsui/network/ComboBoxEntry.qml b/src/settingsui/network/ComboBoxEntry.qml index 91655ed..1d4858a 100644 --- a/src/settingsui/network/ComboBoxEntry.qml +++ b/src/settingsui/network/ComboBoxEntry.qml @@ -55,7 +55,7 @@ RowLayout { id: cb textRole: "text" Layout.fillWidth: true - onActivated: root.activated(index) - onHighlightedIndexChanged: root.highlighted(index) + onActivated: root.activated(currentIndex) + onHighlightedIndexChanged: root.highlighted(currentIndex) } } |