From af8b43a6f64f9a8257b3694285d239ee53ae1d05 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 12 Oct 2016 20:32:37 +0200 Subject: [PATCH] do not finish the Options mode at Properties and Share btns --- .../filemanager/fragments/ItemsFragment.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }