summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_colors.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index 00ab33bcc..8ad0958e1 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -448,7 +448,7 @@ void Setup_Colors::updateGradType()
mBlueSlider->setEnabled(enable);
}
-void Setup_Colors::updateColor()
+void Setup_Colors::updateColor() const
{
if (mSelected == -1 || !userPalette)
return;
diff --git a/src/gui/widgets/tabs/setup_colors.h b/src/gui/widgets/tabs/setup_colors.h
index 8276b111b..da4fb6c90 100644
--- a/src/gui/widgets/tabs/setup_colors.h
+++ b/src/gui/widgets/tabs/setup_colors.h
@@ -84,7 +84,7 @@ class Setup_Colors final : public SetupTab,
static void setEntry(Slider *const s, TextField *const t,
const int value);
- void updateColor();
+ void updateColor() const;
void updateGradType();
};