summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index c21ddd17c..ec03e5cea 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -62,9 +62,9 @@ ScrollArea::ScrollArea(const bool opaque, const std::string &skin) :
mDrawWidth(0),
mDrawHeight(0),
mHasMouse(false),
- mOpaque(opaque),
mRedraw(true)
{
+ mOpaque = opaque;
addWidgetListener(this);
init(skin);
}
@@ -84,9 +84,9 @@ ScrollArea::ScrollArea(gcn::Widget *const widget, const bool opaque,
mDrawWidth(0),
mDrawHeight(0),
mHasMouse(false),
- mOpaque(opaque),
mRedraw(true)
{
+ mOpaque = opaque;
init(skin);
}