summaryrefslogtreecommitdiffstats
path: root/src/common/settings_setting.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/settings_setting.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h
index 1ca3acf18..658b6328d 100644
--- a/src/common/settings_setting.h
+++ b/src/common/settings_setting.h
@@ -198,6 +198,10 @@ public:
return this->ToString(maximum);
}
+ constexpr bool Ranged() const override {
+ return ranged;
+ }
+
protected:
Type value{}; ///< The setting
const Type default_value{}; ///< The default value