summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.h
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-01-03 19:21:26 +0300
committerYuri Sizov <yuris@humnom.net>2023-01-09 15:54:04 +0300
commit00b5222f66105d20817a7e25976c254114a22e60 (patch)
treef8a24ec3b2c4cf13b458917f57bf7c3e5b3ecb62 /scene/gui/control.h
parente84bab8e4f3c3bac0d203eca415ab856c29dd337 (diff)
downloadredot-engine-00b5222f66105d20817a7e25976c254114a22e60.tar.gz
Fix inconsistent state of Controls when editing and running scenes
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r--scene/gui/control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h
index c809856538..9705dd62db 100644
--- a/scene/gui/control.h
+++ b/scene/gui/control.h
@@ -165,7 +165,7 @@ private:
List<Control *>::Element *RI = nullptr;
- Control *parent = nullptr;
+ Control *parent_control = nullptr;
Window *parent_window = nullptr;
CanvasItem *parent_canvas_item = nullptr;
ObjectID drag_owner;