瀏覽代碼

select element: Fix missing attribute change actions

Michael Ragazzon 5 年之前
父節點
當前提交
b2460e7b80
共有 1 個文件被更改,包括 2 次插入0 次删除
  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>());