diff options
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 6e9e2bf96..94e6231f9 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -576,7 +576,7 @@ void SetupItemIntTextField::apply(const std::string &eventName) SetupItemLabel::SetupItemLabel(const std::string &restrict text, const std::string &restrict description, SetupTabScroll *restrict const parent, - const bool separator) : + const Separator separator) : SetupItem(text, description, "", parent, "", "", MainConfig_true), mLabel(nullptr), mIsSeparator(separator) @@ -593,7 +593,7 @@ SetupItemLabel::~SetupItemLabel() void SetupItemLabel::createControls() { - if (mIsSeparator) + if (mIsSeparator == Separator_true) { const std::string str(" \342\200\225\342\200\225\342\200\225" "\342\200\225\342\200\225 "); |