diff options
author | schwabe <devnull@localhost> | 2012-04-29 15:22:01 +0200 |
---|---|---|
committer | schwabe <devnull@localhost> | 2012-04-29 15:22:01 +0200 |
commit | 1f3ea57ee9f0cabdcfd2b585f16bf754984a669d (patch) | |
tree | a40f9151d8bd58ec0c39835168f268101d5a4104 /src/de/blinkt/openvpn/Settings_Authentication.java | |
parent | 63e466054c2f1d66e4618ac4d73208751f1e5bd1 (diff) |
Version 0.4
fixes iusse #1
fixes iusse #2
fixes iusse #3
Diffstat (limited to 'src/de/blinkt/openvpn/Settings_Authentication.java')
-rw-r--r-- | src/de/blinkt/openvpn/Settings_Authentication.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/Settings_Authentication.java b/src/de/blinkt/openvpn/Settings_Authentication.java index f3ebb36d..4c70344d 100644 --- a/src/de/blinkt/openvpn/Settings_Authentication.java +++ b/src/de/blinkt/openvpn/Settings_Authentication.java @@ -58,7 +58,7 @@ public class Settings_Authentication extends PreferenceFragment implements OnPre mUseTLSAuth.setChecked(mProfile.mUseTLSAuth); mTLSAuthFile.setSummary(mProfile.mTLSAuthFilename); - //mTLSAuthDirection.setValue(mProfile.mTLSAuthDirection); + mTLSAuthDirection.setValue(mProfile.mTLSAuthDirection); } private void saveSettings() { @@ -72,10 +72,10 @@ public class Settings_Authentication extends PreferenceFragment implements OnPre else mProfile.mTLSAuthFilename = mTLSAuthFile.getSummary().toString(); - if(mTLSAuthDirection.getEntry()==null) + if(mTLSAuthDirection.getValue()==null) mProfile.mTLSAuthDirection=null; else - mProfile.mTLSAuthDirection = mTLSAuthDirection.getEntry().toString(); + mProfile.mTLSAuthDirection = mTLSAuthDirection.getValue().toString(); } @Override |