mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
Fixed Issue #148: Menubar toggle state is not remembered on program restart.
This commit is contained in:
parent
c8c6a515d6
commit
43e9417663
|
@ -2647,7 +2647,7 @@ void MainWindow::useSmallIconsInToolbarsTriggered()
|
|||
|
||||
void MainWindow::toggleMenuBarTriggered(bool announce)
|
||||
{
|
||||
cfg.preferences.hideMenubar = menuBar()->isVisible();
|
||||
cfg.preferences.hideMenubar = !toggleMenuBarAction.isChecked();
|
||||
|
||||
if ( announce )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue