Hide rename button from attachments preview panel (#8842)

This commit is contained in:
Jonathan White 2022-12-18 22:57:30 -05:00
parent a6a4ed6ed4
commit 605f13ed4a
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -313,6 +313,7 @@ void EntryAttachmentsWidget::updateButtonsVisible()
{
m_ui->addAttachmentButton->setVisible(m_buttonsVisible && !m_readOnly);
m_ui->removeAttachmentButton->setVisible(m_buttonsVisible && !m_readOnly);
m_ui->renameAttachmentButton->setVisible(m_buttonsVisible && !m_readOnly);
}
bool EntryAttachmentsWidget::insertAttachments(const QStringList& filenames, QString& errorMessage)