Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/SearchWidget.cpp')
-rw-r--r--src/gui/SearchWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/SearchWidget.cpp b/src/gui/SearchWidget.cpp
index 7aa5f2901..ed3a50b2a 100644
--- a/src/gui/SearchWidget.cpp
+++ b/src/gui/SearchWidget.cpp
@@ -119,7 +119,8 @@ void SearchWidget::databaseChanged(DatabaseWidget* dbWidget)
if (dbWidget != nullptr) {
// Set current search text from this database
m_ui->searchEdit->setText(dbWidget->getCurrentSearch());
-
+ // Keyboard focus on search widget at database unlocking
+ connect(dbWidget, SIGNAL(unlockedDatabase()), this, SLOT(searchFocus()));
// Enforce search policy
emit caseSensitiveChanged(m_actionCaseSensitive->isChecked());
emit limitGroupChanged(m_actionLimitGroup->isChecked());