mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
replaced hard function call with signal connection
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user