mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Merge branch 'master' of gitorious.org:goldendict/goldendict
This commit is contained in:
commit
bed7209275
|
@ -1176,7 +1176,12 @@ void MainWindow::handleEsc()
|
|||
return;
|
||||
|
||||
if( cfg.preferences.escKeyHidesMainWindow )
|
||||
on_actionCloseToTray_activated();
|
||||
{
|
||||
if( cfg.preferences.enableTrayIcon )
|
||||
hide();
|
||||
else
|
||||
showMinimized();
|
||||
}
|
||||
else
|
||||
focusTranslateLine();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue