aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2005-04-09 17:51:40 +0000
committerMax Horn2005-04-09 17:51:40 +0000
commit0b5a407567ea393ca39bf54c474c960cfaf1a89d (patch)
treee78e8e7f22e569ee5412feced548b2f80783af89 /gui
parent240a6f740631f87a9eb3f86949e16d8b10cddc4b (diff)
downloadscummvm-rg350-0b5a407567ea393ca39bf54c474c960cfaf1a89d.tar.gz
scummvm-rg350-0b5a407567ea393ca39bf54c474c960cfaf1a89d.tar.bz2
scummvm-rg350-0b5a407567ea393ca39bf54c474c960cfaf1a89d.zip
Init _editMode
svn-id: r17482
Diffstat (limited to 'gui')
-rw-r--r--gui/ListWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index d2229a31f3..f6b3526184 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -31,6 +31,7 @@ ListWidget::ListWidget(GuiObject *boss, int x, int y, int w, int h)
: EditableWidget(boss, x, y, w - kScrollBarWidth, h), CommandSender(boss) {
_flags = WIDGET_ENABLED | WIDGET_CLEARBG | WIDGET_RETAIN_FOCUS | WIDGET_WANT_TICKLE;
_type = kListWidget;
+ _editMode = false;
_numberingMode = kListNumberingOne;
_entriesPerPage = (_h - 2) / kLineHeight;
_currentPos = 0;