aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/properties/OptionalPropertyEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theme_builder/components/properties/OptionalPropertyEditor.h')
-rw-r--r--src/theme_builder/components/properties/OptionalPropertyEditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theme_builder/components/properties/OptionalPropertyEditor.h b/src/theme_builder/components/properties/OptionalPropertyEditor.h
index 98b9786d..4467d4de 100644
--- a/src/theme_builder/components/properties/OptionalPropertyEditor.h
+++ b/src/theme_builder/components/properties/OptionalPropertyEditor.h
@@ -41,7 +41,7 @@ class OptionalPropertyEditor : public ui::components::Component {
void SetValue(std::optional<PropertyType> value, bool trigger_change = true) {
if (value) {
SetEnabled(true, false);
- editor_.SetValue(*value);
+ editor_.SetValue(*value, false);
if (trigger_change) change_event_.Raise(nullptr);
} else {
SetEnabled(false, trigger_change);