From 65627705ff0545d3651de9f22dfaae11919db058 Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Fri, 20 Mar 2020 23:01:50 +0200 Subject: [PATCH] Fix sliders' min/max values --- qml/pages/SettingsPage.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qml/pages/SettingsPage.qml b/qml/pages/SettingsPage.qml index a040533..d3be419 100644 --- a/qml/pages/SettingsPage.qml +++ b/qml/pages/SettingsPage.qml @@ -68,8 +68,8 @@ Page { id: highAlertSlider width: parent.width label: qsTr("Charging limit") - minimumValue: 10 - maximumValue: 99 + minimumValue: 11 + maximumValue: 100 stepSize: 1 value: settings.highAlert valueText: value + "%" @@ -108,7 +108,7 @@ Page { handleVisible: enabled width: parent.width label: qsTr("Stop charging limit") - minimumValue: 20 + minimumValue: 21 maximumValue: 95 stepSize: 1 value: settings.highLimit @@ -126,7 +126,7 @@ Page { width: parent.width label: qsTr("Resume charging limit") minimumValue: 20 - maximumValue: 95 + maximumValue: 94 stepSize: 1 value: settings.lowLimit valueText: value + "%"