From 39e94d54313cf140929339a9f2613d79cbf734b0 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 14 May 2012 23:06:36 +0200 Subject: - Rework saving state of preferences fragment - fix state of nobind not loaded (hopefully closes issue #19) Version 0.5.4 --- src/de/blinkt/openvpn/ConfigConverter.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/de/blinkt/openvpn/ConfigConverter.java') diff --git a/src/de/blinkt/openvpn/ConfigConverter.java b/src/de/blinkt/openvpn/ConfigConverter.java index 50d08b73..952ab968 100644 --- a/src/de/blinkt/openvpn/ConfigConverter.java +++ b/src/de/blinkt/openvpn/ConfigConverter.java @@ -44,6 +44,8 @@ public class ConfigConverter extends ListActivity { Intent result = new Intent(); ProfileManager vpl = ProfileManager.getInstance(this); vpl.addProfile(mResult); + vpl.saveProfile(this, mResult); + vpl.saveProfileList(this); result.putExtra(VpnProfile.EXTRA_PROFILEUUID,mResult.getUUID().toString()); setResult(Activity.RESULT_OK, result); finish(); -- cgit v1.2.3