mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 13:34:16 -04:00
Use common EditEntryWidget::clear() method.
This commit is contained in:
parent
bed58cde84
commit
b9c9c56059
1 changed files with 1 additions and 4 deletions
|
@ -384,10 +384,7 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
||||||
void EditEntryWidget::saveEntry()
|
void EditEntryWidget::saveEntry()
|
||||||
{
|
{
|
||||||
if (m_history) {
|
if (m_history) {
|
||||||
m_entry = Q_NULLPTR;
|
clear();
|
||||||
m_database = Q_NULLPTR;
|
|
||||||
m_entryAttributes->clear();
|
|
||||||
m_entryAttachments->clear();
|
|
||||||
Q_EMIT editFinished(false);
|
Q_EMIT editFinished(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue