summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/tab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/tab.cpp')
-rw-r--r--src/guichan/widgets/tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/tab.cpp b/src/guichan/widgets/tab.cpp
index 8afc248c5..fa70f1e08 100644
--- a/src/guichan/widgets/tab.cpp
+++ b/src/guichan/widgets/tab.cpp
@@ -59,10 +59,10 @@
namespace gcn
{
Tab::Tab() :
+ mLabel(new Label()),
mHasMouse(false),
mTabbedArea(nullptr)
{
- mLabel = new Label();
mLabel->setPosition(4, 4);
add(mLabel);