*! When toggling main window and it's not visible, activate and raise it.

This commit is contained in:
Konstantin Isakov 2009-05-07 16:22:17 +00:00
parent 484c3e356b
commit 1c391da840

View file

@ -961,7 +961,11 @@ void MainWindow::showTranslationFor( QString const & inWord )
void MainWindow::toggleMainWindow( bool onlyShow )
{
if ( !isVisible() )
{
show();
activateWindow();
raise();
}
else
if ( isMinimized() )
{