aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 4b8219cc08..fa31e2f6d2 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -25,7 +25,8 @@
Widget::Widget (Dialog *boss, int x, int y, int w, int h)
- : _type(0), _boss(boss), _x(x), _y(y), _w(w), _h(h), _id(0), _flags(0)
+ : _type(0), _boss(boss), _x(x), _y(y), _w(w), _h(h),
+ _id(0), _flags(0), _hasFocus(false)
{
// Insert into the widget list of the boss
_next = _boss->_firstWidget;