fix #238, save note text at renaming, if autosave is enabled

This commit is contained in:
tibbi
2018-12-09 21:03:23 +01:00
parent b314acf30c
commit 4498428fb5
2 changed files with 7 additions and 2 deletions

View File

@ -294,7 +294,7 @@ class MainActivity : SimpleActivity() {
}
private fun displayRenameDialog() {
RenameNoteDialog(this, mCurrentNote) {
RenameNoteDialog(this, mCurrentNote, getCurrentNoteText()) {
mCurrentNote = it
initViewPager(mCurrentNote.id)
}