Skip to content

Commit

Permalink
Hide rename button from attachments preview panel (keepassxreboot#8842)
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey authored Dec 19, 2022
1 parent c410c38 commit 3e3e87d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/entry/EntryAttachmentsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3e3e87d

Please sign in to comment.