summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index f1ab408fe..d0c10ecb6 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -44,13 +44,13 @@ CheckBox::CheckBox(const Widget2 *const widget,
const std::string &eventId) :
gcn::CheckBox(caption, selected),
Widget2(widget),
- mForegroundColor2(getThemeColor(Theme::CHECKBOX_OUTLINE)),
mPadding(0),
mImagePadding(0),
mImageSize(9),
mSpacing(2),
mHasMouse(false)
{
+ mForegroundColor2 = getThemeColor(Theme::CHECKBOX_OUTLINE);
if (instances == 0)
{
if (Theme::instance())