Correct intermittent crash due to stale history items

This commit is contained in:
Jonathan White 2018-02-25 12:58:54 -05:00 committed by Janek Bevendorff
parent 8dad78194f
commit 5e2e12977d

View File

@ -755,6 +755,8 @@ bool EditEntryWidget::commitEntry()
}
#endif
m_historyModel->setEntries(m_entry->historyItems());
showMessage(tr("Entry updated successfully."), MessageWidget::Positive);
return true;
}