Save draft on edit/delete reference

This commit is contained in:
M66B 2019-09-09 22:09:00 +02:00
parent 0c5a89085b
commit 1d73cc8933
1 changed files with 4 additions and 1 deletions

View File

@ -642,8 +642,10 @@ public class FragmentCompose extends FragmentBase {
@Override @Override
protected void onExecuted(Bundle args, EntityMessage draft) { protected void onExecuted(Bundle args, EntityMessage draft) {
if (draft != null) if (draft != null) {
showDraft(draft); showDraft(draft);
onAction(R.id.action_save); // Update inline images
}
} }
@Override @Override
@ -727,6 +729,7 @@ public class FragmentCompose extends FragmentBase {
protected void onExecuted(Bundle args, EntityMessage draft) { protected void onExecuted(Bundle args, EntityMessage draft) {
plain_only = true; plain_only = true;
getActivity().invalidateOptionsMenu(); getActivity().invalidateOptionsMenu();
onAction(R.id.action_save); // Update inline images
showDraft(draft); showDraft(draft);
} }