diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java index 856a5742..e5e88986 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java @@ -252,6 +252,11 @@ public class FolderFragment extends Fragment } private void updateViewsAndSetListeners() { + mIdView.removeTextChangedListener(mIdTextWatcher); + mPathView.removeTextChangedListener(mPathTextWatcher); + mFolderMasterView.setOnCheckedChangeListener(null); + mKeepVersionsDialogFragment.setOnValueChangeListener(null); + // Update views mIdView.setText(mFolder.id); mPathView.setText(mFolder.path);