Clear attributes edit if there are no attributes.

This commit is contained in:
Florian Geyer 2012-04-30 18:22:02 +02:00
parent 4968292a05
commit 93982aa0c9

View File

@ -130,6 +130,7 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, const QString& groupN
m_advancedUi->attributesView->setCurrentIndex(m_attributesModel->index(0, 0));
}
else {
m_advancedUi->attributesEdit->setPlainText("");
m_advancedUi->attributesEdit->setEnabled(false);
}