mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 16:59:44 -05:00
Fix to apply "Hide toolbar" without restart
This commit is contained in:
parent
d843ad414a
commit
57860fc33c
@ -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…
Reference in New Issue
Block a user