mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
MenuButton should not have focus.
This commit is contained in:
parent
1d2f682345
commit
915384d9d0
|
@ -178,6 +178,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
|||
menuButton->addAction( ui.menuOptions );
|
||||
menuButton->setToolTip( tr( "Menu Button" ) );
|
||||
menuButton->setObjectName( "menuButton" );
|
||||
menuButton->setFocusPolicy( Qt::NoFocus );
|
||||
|
||||
menuButtonAction = navToolbar->addWidget(menuButton);
|
||||
menuButtonAction->setVisible( cfg.preferences.hideMenubar );
|
||||
|
|
Loading…
Reference in a new issue