From a94f9de525219a17409181d408c06cb929314c3d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 16 Jul 2002 10:52:48 +0000 Subject: patch by painelf that enables editing in the ListWidget (alas as usual with many mods to his patch by me :-) svn-id: r4561 --- gui/widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gui/widget.cpp') 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; -- cgit v1.2.3