* BUG: Window.TakeFocus works again.

[GB.QT5]
* BUG: Window.TakeFocus works again.


git-svn-id: svn://localhost/gambas/trunk@7319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-09-17 22:13:38 +00:00
parent 2395af1a33
commit 957e31dea8

View file

@ -1711,7 +1711,7 @@ void MyMainWindow::present(QWidget *parent)
}
}
if (parent || (hasBorder() && !THIS->noTakeFocus))
if (!THIS->noTakeFocus) // && (parent || hasBorder()))
activateWindow();
if (parent)