From 957e31dea87e52bf47d494d42cc252ac3d24d3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Thu, 17 Sep 2015 22:13:38 +0000 Subject: [PATCH] [GB.QT4] * 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 --- gb.qt4/src/CWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.qt4/src/CWindow.cpp b/gb.qt4/src/CWindow.cpp index 8d507e789..8265699b2 100644 --- a/gb.qt4/src/CWindow.cpp +++ b/gb.qt4/src/CWindow.cpp @@ -1711,7 +1711,7 @@ void MyMainWindow::present(QWidget *parent) } } - if (parent || (hasBorder() && !THIS->noTakeFocus)) + if (!THIS->noTakeFocus) // && (parent || hasBorder())) activateWindow(); if (parent)