diff options
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 22ff97056..68562a871 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -293,11 +293,10 @@ Kirigami.ScrollablePage { Controls.TextField { id: timeThreshold - text: prefs.timeThreshold + text: PrefLocationService.time_threshold / 60 Layout.preferredWidth: gridWidth * 0.25 onEditingFinished: { - prefs.timeThreshold = timeThreshold.text - manager.savePreferences() + PrefLocationService.time_threshold = timeThreshold.text * 60 } } |