[GB.QT4]
* BUG: Prevent Container.FindChild() from returning the container it applies to. [GB.QT5] * BUG: Prevent Container.FindChild() from returning the container it applies to. git-svn-id: svn://localhost/gambas/trunk@7665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
625888d44d
commit
4a834861f0
1 changed files with 1 additions and 1 deletions
|
@ -1342,7 +1342,7 @@ BEGIN_METHOD(Container_FindChild, GB_INTEGER x; GB_INTEGER y)
|
|||
if (w->geometry().contains(VARG(x), VARG(y)))
|
||||
{
|
||||
control = CWidget::get(w);
|
||||
if (control)
|
||||
if (control && control != THIS)
|
||||
{
|
||||
GB.ReturnObject(control);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue