summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/StatisticsPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/StatisticsPage.qml')
-rw-r--r--mobile-widgets/qml/StatisticsPage.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/StatisticsPage.qml b/mobile-widgets/qml/StatisticsPage.qml
index 4119c653a..7c5b498ca 100644
--- a/mobile-widgets/qml/StatisticsPage.qml
+++ b/mobile-widgets/qml/StatisticsPage.qml
@@ -37,6 +37,7 @@ Kirigami.Page {
TemplateComboBox {
id: var1
model: statsManager.var1List
+ currentIndex: statsManager.var1Index;
Layout.fillWidth: false
onCurrentIndexChanged: {
statsManager.var1Changed(currentIndex)
@@ -54,6 +55,7 @@ Kirigami.Page {
TemplateComboBox {
id: var1Binner
model: statsManager.binner1List
+ currentIndex: statsManager.binner1Index;
Layout.fillWidth: false
onCurrentIndexChanged: {
statsManager.var1BinnerChanged(currentIndex)
@@ -71,6 +73,7 @@ Kirigami.Page {
TemplateComboBox {
id: var2
model: statsManager.var2List
+ currentIndex: statsManager.var2Index;
Layout.fillWidth: false
onCurrentIndexChanged: {
statsManager.var2Changed(currentIndex)
@@ -88,6 +91,7 @@ Kirigami.Page {
TemplateComboBox {
id: var2Binner
model: statsManager.binner2List
+ currentIndex: statsManager.binner2Index;
Layout.fillWidth: false
onCurrentIndexChanged: {
statsManager.var2BinnerChanged(currentIndex)