added option editor event selcat

This commit is contained in:
Basile Burg 2015-05-03 09:17:04 +02:00
parent a59fe83ac1
commit b1a5ec229f
2 changed files with 5 additions and 1 deletions

View File

@ -168,7 +168,7 @@ type
TOptionEditorKind = (oekGeneric, oekForm, oekControl);
// event generated by the option editor and passed to an ICEEditableOptions.
// the oeeChange event only happends if the container is oekGeneric.
TOptionEditorEvent = (oeeCancel, oeeAccept, oeeChange);
TOptionEditorEvent = (oeeCancel, oeeAccept, oeeChange, oeeSelectCat);
(**
* An implementer can expose some options to be edited in a dedicated widget.
*)

View File

@ -174,6 +174,10 @@ begin
inspector.TIObject := dt^.container;
end;
end;
//
PCategoryData(selCat.Selected.Data)^
.observer
.optionedEvent(oeeSelectCat);
end;
procedure TCEOptionEditorWidget.inspectorModified(Sender: TObject);