mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-29 03:46:26 -04:00
Clear attributes edit if there are no attributes.
This commit is contained in:
parent
4968292a05
commit
93982aa0c9
@ -130,6 +130,7 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, const QString& groupN
|
|||||||
m_advancedUi->attributesView->setCurrentIndex(m_attributesModel->index(0, 0));
|
m_advancedUi->attributesView->setCurrentIndex(m_attributesModel->index(0, 0));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
m_advancedUi->attributesEdit->setPlainText("");
|
||||||
m_advancedUi->attributesEdit->setEnabled(false);
|
m_advancedUi->attributesEdit->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user