[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();
|
||||
//usleep(50000);
|
||||
//_activate = TRUE;
|
||||
if (isToolbar())
|
||||
QTimer::singleShot(50, this, SLOT(activateLater()));
|
||||
else
|
||||
activateWindow();
|
||||
//if (isToolbar())
|
||||
QTimer::singleShot(50, this, SLOT(activateLater()));
|
||||
//else
|
||||
// activateWindow();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue