mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 16:29:44 -05:00
Use common EditEntryWidget::clear() method.
This commit is contained in:
parent
bed58cde84
commit
b9c9c56059
@ -384,10 +384,7 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
||||
void EditEntryWidget::saveEntry()
|
||||
{
|
||||
if (m_history) {
|
||||
m_entry = Q_NULLPTR;
|
||||
m_database = Q_NULLPTR;
|
||||
m_entryAttributes->clear();
|
||||
m_entryAttachments->clear();
|
||||
clear();
|
||||
Q_EMIT editFinished(false);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user