mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-30 01:58:41 -04:00
Fix to apply "Hide toolbar" without restart
This commit is contained in:
parent
d843ad414a
commit
57860fc33c
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,6 @@ MainWindow::MainWindow()
|
|||
|
||||
setAcceptDrops(true);
|
||||
|
||||
m_ui->toolBar->setHidden(config()->get("GUI/HideToolbar").toBool());
|
||||
|
||||
// Setup the search widget in the toolbar
|
||||
SearchWidget* search = new SearchWidget();
|
||||
search->connectSignals(m_actionMultiplexer);
|
||||
|
@ -841,6 +839,8 @@ void MainWindow::applySettingsChanges()
|
|||
m_inactivityTimer->deactivate();
|
||||
}
|
||||
|
||||
m_ui->toolBar->setHidden(config()->get("GUI/HideToolbar").toBool());
|
||||
|
||||
updateTrayIcon();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue