diff --git a/components/ideintf/objectinspector.pp b/components/ideintf/objectinspector.pp index 775202c389..ca9c5fc34a 100644 --- a/components/ideintf/objectinspector.pp +++ b/components/ideintf/objectinspector.pp @@ -1576,14 +1576,10 @@ begin end; procedure TOICustomPropertyGrid.ValueCheckBoxClick(Sender: TObject); -var - CurRow: TOIPropertyGridRow; begin if (pgsUpdatingEditControl in FStates) or not IsCurrentEditorAvailable then exit; ValueCheckBox.Caption:=BoolToStr(ValueCheckBox.Checked, '(True)', '(False)'); - CurRow:=Rows[FItemIndex]; - if paAutoUpdate in CurRow.Editor.GetAttributes then - SetRowValue(true); + SetRowValue(true); end; procedure TOICustomPropertyGrid.ValueComboBoxExit(Sender: TObject);