mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 21:47:38 +03:00
replaced hard function call with signal connection
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
This commit is contained in:
parent
03bd346432
commit
12b5cf0331
3 changed files with 3 additions and 6 deletions
|
@ -465,10 +465,6 @@ void MainWindow::setMenuActionState(DatabaseWidget::Mode mode)
|
|||
|
||||
m_searchWidgetAction->setEnabled(true);
|
||||
|
||||
//if not already in search mode focus the search widget and select all its content
|
||||
if (!inSearch) {
|
||||
m_ui->toolBar->findChild<SearchWidget *>("SearchWidget")->searchFocus();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DatabaseWidget::EditMode:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue