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 and pull[bot] committed Dec 19, 2022
1 parent b77a08a commit 7ca7d38
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 7ca7d38

Please sign in to comment.