fix, option editor, generic editor, changes from a dialog were not detected

This commit is contained in:
Basile Burg 2015-05-26 11:34:34 +02:00
parent 0fdab64271
commit 42b608d5f1
1 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ begin
fModal:= true;
fEdOptsSubj := TCEEditableOptionsSubject.create;
inspector.CheckboxForBoolean := true;
inspector.PropertyEditorHook.AddHandlerModified(@inspectorModified);
//
png := TPortableNetworkGraphic.Create;
try
@ -146,7 +147,7 @@ begin
fCatChanged := not result;
if result then btnCancelClick(nil);
end;
// custom editor, changes are notified by optionedCatChange()
// custom editor, changes are notified by optionedOptionsModified()
end else
begin
dt := PCategoryData(selCat.Selected.Data);