mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-27 04:16:45 -08:00
replaced hard function call with signal connection
Signed-off-by: Ettore Dreucci <[email protected]>
This commit is contained in:
3 files changed
+3
-6
No files matched your search
@@ -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