From 5239e57d5c914042fc81edd8442350f14a22489f Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sun, 15 Nov 2015 20:58:57 +0100 Subject: [PATCH] Added missing preference listener (ref #493). --- .../com/nutomic/syncthingandroid/fragments/SettingsFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/SettingsFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/SettingsFragment.java index fe6a8291..6d7762db 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/SettingsFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/SettingsFragment.java @@ -86,6 +86,7 @@ public class SettingsFragment extends PreferenceFragment } Preference address = mGuiScreen.findPreference(ADDRESS); + address.setOnPreferenceChangeListener(this); applyPreference(address, api.getValue(RestApi.TYPE_GUI, ADDRESS)); } }