Revert "IdeIntf: Synchronize TTIPropGrid checkbox for bool props. Issue #39378, patch by Basile.B."

This reverts commit d3c2bb5ce6.
This commit is contained in:
Basile Burg 2021-09-26 16:23:55 +02:00
parent 0a2bc87781
commit 0b368ce10d

View File

@ -1817,10 +1817,10 @@ begin
ValueCheckBox.Caption:=NewValue;
if (NewValue='') or (NewValue=oisMixed) then
ValueCheckBox.State:=cbGrayed
else if Pos('True', NewValue) > 0 then
else if NewValue='(True)' then
ValueCheckBox.State:=cbChecked
// Note: this condition can be removed when the right propedit is used always.
else if Pos('False', NewValue) > 0 then
else if NewValue='(False)' then
ValueCheckBox.State:=cbUnchecked;
end;