mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Close search when the escape button is pressed.
This commit is contained in:
parent
8619682da3
commit
8cf6289d9c
@ -87,6 +87,7 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent)
|
||||
QIcon closeIcon = filePath()->icon("actions", "dialog-close");
|
||||
closeAction->setIcon(closeIcon);
|
||||
m_searchUi->closeSearchButton->setDefaultAction(closeAction);
|
||||
m_searchUi->closeSearchButton->setShortcut(Qt::Key_Escape);
|
||||
m_searchWidget->hide();
|
||||
m_searchUi->caseSensitiveCheckBox->setVisible(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user