diff options
Diffstat (limited to 'mobile-widgets/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 484a69a67..22ff97056 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -278,11 +278,10 @@ Kirigami.ScrollablePage { Controls.TextField { id: distanceThreshold - text: prefs.distanceThreshold + text: PrefLocationService.distance_threshold Layout.preferredWidth: gridWidth * 0.25 onEditingFinished: { - prefs.distanceThreshold = distanceThreshold.text - manager.savePreferences() + PrefLocationService.distance_threshold = distanceThreshold.text } } |