mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Proper checkmark for the Menubar action.
This commit is contained in:
parent
e8cefa1330
commit
747b227653
|
@ -394,7 +394,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
|||
|
||||
// Toggle Menubar
|
||||
toggleMenuBarAction.setCheckable( true );
|
||||
toggleMenuBarAction.setChecked( true );
|
||||
toggleMenuBarAction.setChecked( !cfg.preferences.hideMenubar );
|
||||
toggleMenuBarAction.setShortcut( QKeySequence( "Ctrl+M" ) );
|
||||
|
||||
connect( &toggleMenuBarAction, SIGNAL( triggered() ),
|
||||
|
|
Loading…
Reference in a new issue