mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +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