From 3e3e87d3c59c7dbf5d424254f8c466592ced15c9 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 18 Dec 2022 22:57:30 -0500 Subject: [PATCH] Hide rename button from attachments preview panel (#8842) --- src/gui/entry/EntryAttachmentsWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/entry/EntryAttachmentsWidget.cpp b/src/gui/entry/EntryAttachmentsWidget.cpp index 796b84fb7..51e72bc53 100644 --- a/src/gui/entry/EntryAttachmentsWidget.cpp +++ b/src/gui/entry/EntryAttachmentsWidget.cpp @@ -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)