diff --git a/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java b/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java index 8adf00f0..538c7305 100644 --- a/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java +++ b/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java @@ -326,6 +326,7 @@ public class ItemsFragment extends android.support.v4.app.Fragment switch (item.getItemId()) { case R.id.cab_rename: displayRenameDialog(); + mode.finish(); break; case R.id.cab_properties: displayPropertiesDialog(); @@ -335,14 +336,16 @@ public class ItemsFragment extends android.support.v4.app.Fragment break; case R.id.cab_copy: displayCopyDialog(); + mode.finish(); break; case R.id.cab_delete: prepareForDeleting(); + mode.finish(); break; default: return false; } - mode.finish(); + return true; }