diff --git a/applets/weather/package/contents/ui/config/ConfigWeatherStation.qml b/applets/weather/package/contents/ui/config/ConfigWeatherStation.qml --- a/applets/weather/package/contents/ui/config/ConfigWeatherStation.qml +++ b/applets/weather/package/contents/ui/config/ConfigWeatherStation.qml @@ -97,12 +97,15 @@ Kirigami.FormData.label: i18nc("@label:spinbox", "Update every:") textFromValue: function(value) { - return (i18np("%1 minute", "%1 minutes", value)); - } + return (i18np("%1 minute", "%1 minutes", value)); + } + valueFromText: function(text) { + return parseInt(text); + } - stepSize: 5 from: 30 to: 3600 + editable: true onValueChanged: weatherStationConfigPage.configurationChanged(); }