mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-11 16:00:52 -04:00
Enable more convenient attachment renaming by clicking selection
Fixes #1695
This commit is contained in:
parent
93f0fef1e1
commit
3a1560d2f6
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ EntryAttachmentsWidget::EntryAttachmentsWidget(QWidget* parent)
|
|||
m_ui->attachmentsView->horizontalHeader()->resizeSection(EntryAttachmentsModel::NameColumn, 400);
|
||||
m_ui->attachmentsView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
m_ui->attachmentsView->setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
m_ui->attachmentsView->setEditTriggers(QAbstractItemView::SelectedClicked);
|
||||
|
||||
connect(this, SIGNAL(buttonsVisibleChanged(bool)), this, SLOT(updateButtonsVisible()));
|
||||
connect(this, SIGNAL(readOnlyChanged(bool)), SLOT(updateButtonsEnabled()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue