diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-11-24 01:20:35 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-11-24 01:20:35 +0100 |
commit | 8dc10e8717e22fb2484507da3bdf9e0ea83e3205 (patch) | |
tree | bc0bf2002490f76a159ba7fe42bef1a886c4c030 /main | |
parent | addb03a90882e7485447792b5dff65c1034371f7 (diff) |
Fix excluded routes not displayed in summary
--HG--
extra : rebase_source : 9e499ee13e5309623665a38975f526985e951a98
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/fragments/Settings_Routing.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Routing.java b/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Routing.java index b677a01c..02432008 100644 --- a/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Routing.java +++ b/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Routing.java @@ -40,6 +40,8 @@ public class Settings_Routing extends OpenVpnPreferencesFragment implements OnPr mCustomRoutes.setOnPreferenceChangeListener(this); mCustomRoutesv6.setOnPreferenceChangeListener(this); + mExcludedRoutes.setOnPreferenceChangeListener(this); + mExcludedRoutesv6.setOnPreferenceChangeListener(this); loadSettings(); } @@ -62,7 +64,10 @@ public class Settings_Routing extends OpenVpnPreferencesFragment implements OnPr // Sets Summary onPreferenceChange(mCustomRoutes, mCustomRoutes.getText()); onPreferenceChange(mCustomRoutesv6, mCustomRoutesv6.getText()); - mRouteNoPull.setEnabled(mProfile.mUsePull); + onPreferenceChange(mExcludedRoutes, mExcludedRoutes.getText()); + onPreferenceChange(mExcludedRoutesv6, mExcludedRoutesv6.getText()); + + mRouteNoPull.setEnabled(mProfile.mUsePull); } |