Add attachments tab to details view

This commit is contained in:
frostasm 2017-12-13 22:22:31 +02:00
parent 90a64dbde2
commit 0c200d360b
8 changed files with 82 additions and 9 deletions

View file

@ -111,6 +111,11 @@ void EntryAttachments::remove(const QStringList& keys)
}
}
bool EntryAttachments::isEmpty() const
{
return m_attachments.isEmpty();
}
void EntryAttachments::clear()
{
if (m_attachments.isEmpty()) {