summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 92cc93d6e..937ce79d2 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -209,7 +209,7 @@ SetupItemCheckBox::~SetupItemCheckBox()
void SetupItemCheckBox::createControls()
{
load();
- mCheckBox = new CheckBox(mText, mValue != "0", mParent, mEventName);
+ mCheckBox = new CheckBox(this, mText, mValue != "0", mParent, mEventName);
mWidget = mCheckBox;
mParent->getContainer()->add1(mWidget);
mParent->addControl(this);