From 2d3777ce8764af1a99745db2b9d1b2a814336402 Mon Sep 17 00:00:00 2001 From: Jocke Date: Sun, 23 Sep 2018 11:32:28 +0200 Subject: Mobile/settings: clear all of qPrefDiveComputer.vendor To prevent stale data in the download DC path we need to clear the entire qPrefDiveComputer.vendor() object when the user purges the used DCs. Signed-off-by: Joakim Bygdell --- mobile-widgets/qml/Settings.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 391dbd493..7c2beceaf 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -365,6 +365,7 @@ Kirigami.ScrollablePage { PrefDiveComputer.vendor2 = "" PrefDiveComputer.vendor3 = "" PrefDiveComputer.vendor4 = "" + PrefDiveComputer.vendor = "" } } } -- cgit v1.2.3-70-g09d2