mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Disable focus acquiring by "New tab" button
This commit is contained in:
parent
5d7d553bb5
commit
9fb33d10bd
|
@ -606,7 +606,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
|||
|
||||
addTab.setAutoRaise( true );
|
||||
addTab.setToolTip( tr( "New Tab" ) );
|
||||
addTab.setFocusPolicy(Qt::ClickFocus);
|
||||
addTab.setFocusPolicy( Qt::NoFocus );
|
||||
addTab.setIcon( QIcon( ":/icons/addtab.png" ) );
|
||||
|
||||
ui.tabWidget->setHideSingleTab(cfg.preferences.hideSingleTab);
|
||||
|
|
Loading…
Reference in a new issue