Bugfix: Mixed check state also means that this node was checked

This commit is contained in:
Ansgar Becker
2010-06-14 06:03:10 +00:00
parent c0da6e5a21
commit 56548f29c0

View File

@ -128,7 +128,7 @@ begin
nData: Option := REGNAME_COPYTABLE_DATA;
else raise Exception.Create(SUnhandledNodeIndex);
end;
MainReg.WriteBool(Option, Node.CheckState in [csCheckedNormal, csCheckedPressed]);
MainReg.WriteBool(Option, Node.CheckState in [csCheckedNormal, csCheckedPressed, csMixedNormal, csMixedPressed]);
Node := TreeElements.GetNextSibling(Node);
end;
end;