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)); } }