Browse Source

select element: Fix missing attribute change actions

Michael Ragazzon 5 years ago
parent
commit
b2460e7b80
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/Core/Elements/ElementFormControlSelect.cpp

+ 2 - 0
Source/Core/Elements/ElementFormControlSelect.cpp

@@ -168,6 +168,8 @@ bool ElementFormControlSelect::GetIntrinsicDimensions(Vector2f& intrinsic_dimens
 
 void ElementFormControlSelect::OnAttributeChange(const ElementAttributes& changed_attributes)
 {
+	ElementFormControl::OnAttributeChange(changed_attributes);
+
 	auto it = changed_attributes.find("value");
 	if (it != changed_attributes.end())
 		SetValue(it->second.Get<String>());