aboutsummaryrefslogtreecommitdiff
path: root/dw/types.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/types.hh')
-rw-r--r--dw/types.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/types.hh b/dw/types.hh
index ab562a49..877593fe 100644
--- a/dw/types.hh
+++ b/dw/types.hh
@@ -191,7 +191,7 @@ public:
Widget *widget;
int parentRef;
- WidgetReference (Widget *widget) { this->widget = widget; }
+ WidgetReference (Widget *widget) { parentRef = -1; this->widget = widget; }
};
struct Content