mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-26 01:26:42 -05:00
Merge branch 'release/2.2.3' into develop
This commit is contained in:
commit
8651736e61
9 changed files with 94 additions and 53 deletions
|
|
@ -536,6 +536,7 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, bool history, const Q
|
|||
m_database = database;
|
||||
m_create = create;
|
||||
m_history = history;
|
||||
m_saved = false;
|
||||
|
||||
if (history) {
|
||||
setHeadline(QString("%1 > %2").arg(parentName, tr("Entry history")));
|
||||
|
|
@ -712,6 +713,7 @@ void EditEntryWidget::saveEntry()
|
|||
}
|
||||
|
||||
updateEntryData(m_entry);
|
||||
m_saved = true;
|
||||
|
||||
if (!m_create) {
|
||||
m_entry->endUpdate();
|
||||
|
|
@ -790,7 +792,7 @@ void EditEntryWidget::cancel()
|
|||
|
||||
clear();
|
||||
|
||||
emit editFinished(false);
|
||||
emit editFinished(m_saved);
|
||||
}
|
||||
|
||||
void EditEntryWidget::clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue