summaryrefslogtreecommitdiffstats
path: root/src/settingsui/network/ComboBoxEntry.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsui/network/ComboBoxEntry.qml')
-rw-r--r--src/settingsui/network/ComboBoxEntry.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settingsui/network/ComboBoxEntry.qml b/src/settingsui/network/ComboBoxEntry.qml
index 71b997c..91655ed 100644
--- a/src/settingsui/network/ComboBoxEntry.qml
+++ b/src/settingsui/network/ComboBoxEntry.qml
@@ -42,6 +42,8 @@ RowLayout {
property alias model: cb.model
property alias count: cb.count
property int titleWidth: -1
+ signal activated(var index)
+ signal highlighted(var index)
Label {
id: label
@@ -53,5 +55,7 @@ RowLayout {
id: cb
textRole: "text"
Layout.fillWidth: true
+ onActivated: root.activated(index)
+ onHighlightedIndexChanged: root.highlighted(index)
}
}