Undo/redo makes dirty

pull/178/head
M66B 5 years ago
parent b63c12e2ce
commit 94f8b61850

@ -3968,6 +3968,8 @@ public class FragmentCompose extends FragmentBase {
// Restore revision // Restore revision
Log.i("Restoring revision=" + draft.revision); Log.i("Restoring revision=" + draft.revision);
body = Helper.readText(draft.getFile(context, draft.revision)); body = Helper.readText(draft.getFile(context, draft.revision));
dirty = true;
} }
Helper.writeText(draft.getFile(context), body); Helper.writeText(draft.getFile(context), body);

Loading…
Cancel
Save