mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 00:09:53 -05:00
Focus entryView when pressing enter in the search field.
This commit is contained in:
parent
9080864167
commit
755241df5c
@ -155,6 +155,7 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent)
|
|||||||
connect(m_searchUi->caseSensitiveCheckBox, SIGNAL(toggled(bool)), this, SLOT(startSearch()));
|
connect(m_searchUi->caseSensitiveCheckBox, SIGNAL(toggled(bool)), this, SLOT(startSearch()));
|
||||||
connect(m_searchUi->searchCurrentRadioButton, SIGNAL(toggled(bool)), this, SLOT(startSearch()));
|
connect(m_searchUi->searchCurrentRadioButton, SIGNAL(toggled(bool)), this, SLOT(startSearch()));
|
||||||
connect(m_searchUi->searchRootRadioButton, SIGNAL(toggled(bool)), this, SLOT(startSearch()));
|
connect(m_searchUi->searchRootRadioButton, SIGNAL(toggled(bool)), this, SLOT(startSearch()));
|
||||||
|
connect(m_searchUi->searchEdit, SIGNAL(returnPressed()), m_entryView, SLOT(setFocus()));
|
||||||
connect(m_searchTimer, SIGNAL(timeout()), this, SLOT(search()));
|
connect(m_searchTimer, SIGNAL(timeout()), this, SLOT(search()));
|
||||||
connect(closeAction, SIGNAL(triggered()), this, SLOT(closeSearch()));
|
connect(closeAction, SIGNAL(triggered()), this, SLOT(closeSearch()));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user