mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-14 04:53:12 -04:00
Enable more convenient attachment renaming by clicking selection
Fixes #1695
This commit is contained in:
parent
93f0fef1e1
commit
3a1560d2f6
@ -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…
x
Reference in New Issue
Block a user