mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-02 03:26:14 -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);
|
setAcceptDrops(true);
|
||||||
|
|
||||||
m_ui->toolBar->setHidden(config()->get("GUI/HideToolbar").toBool());
|
|
||||||
|
|
||||||
// Setup the search widget in the toolbar
|
// Setup the search widget in the toolbar
|
||||||
SearchWidget* search = new SearchWidget();
|
SearchWidget* search = new SearchWidget();
|
||||||
search->connectSignals(m_actionMultiplexer);
|
search->connectSignals(m_actionMultiplexer);
|
||||||
|
@ -841,6 +839,8 @@ void MainWindow::applySettingsChanges()
|
||||||
m_inactivityTimer->deactivate();
|
m_inactivityTimer->deactivate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_ui->toolBar->setHidden(config()->get("GUI/HideToolbar").toBool());
|
||||||
|
|
||||||
updateTrayIcon();
|
updateTrayIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue