[GB.QT4]
* BUG: Always activate a window 50 ms after it has been shown, to trap any focus stealing prevention mechanism. git-svn-id: svn://localhost/gambas/trunk@3090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
67b9603177
commit
9411b8785f
1 changed files with 4 additions and 4 deletions
|
@ -1712,10 +1712,10 @@ void MyMainWindow::showActivate(QWidget *transient)
|
||||||
//MAIN_process_events();
|
//MAIN_process_events();
|
||||||
//usleep(50000);
|
//usleep(50000);
|
||||||
//_activate = TRUE;
|
//_activate = TRUE;
|
||||||
if (isToolbar())
|
//if (isToolbar())
|
||||||
QTimer::singleShot(50, this, SLOT(activateLater()));
|
QTimer::singleShot(50, this, SLOT(activateLater()));
|
||||||
else
|
//else
|
||||||
activateWindow();
|
// activateWindow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue