From c66f1fbdef964eff393ad3bbf32001d16fad29a8 Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Sat, 20 Jun 2020 17:03:47 +0200 Subject: [PATCH] Fix #882 Enable title editing when clicking on action bar --- .../owncloud/notes/android/fragment/BaseNoteFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java b/app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java index c977e5d6..c3ccdeb0 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/android/fragment/BaseNoteFragment.java @@ -339,6 +339,7 @@ public abstract class BaseNoteFragment extends BrandedFragment implements Catego * Opens a dialog in order to chose a category */ public void showEditTitleDialog() { + saveNote(null); final String fragmentId = "fragment_edit_title"; FragmentManager manager = requireActivity().getSupportFragmentManager(); Fragment frag = manager.findFragmentByTag(fragmentId);