Rollback the previous commit, it breaks too many things.

[INTERPRETER]
* BUG: Rollback the previous commit, it breaks too many things.
This commit is contained in:
gambas 2021-08-30 02:05:38 +02:00
parent 742b65afc7
commit ea04ca6e6a

View file

@ -510,7 +510,7 @@ OBJECT *OBJECT_active_parent(void *object)
{
OBJECT *parent = OBJECT_parent(object);
if (!parent || OBJECT_is_locked((OBJECT *)object)) // || OBJECT_is_locked(parent))
if (!parent || OBJECT_is_locked((OBJECT *)object) || OBJECT_is_locked(parent))
return NULL;
return parent;