mirror of https://gitlab.com/basile.b/dexed.git
added option editor event selcat
This commit is contained in:
parent
a59fe83ac1
commit
b1a5ec229f
|
@ -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.
|
||||
*)
|
||||
|
|
|
@ -174,6 +174,10 @@ begin
|
|||
inspector.TIObject := dt^.container;
|
||||
end;
|
||||
end;
|
||||
//
|
||||
PCategoryData(selCat.Selected.Data)^
|
||||
.observer
|
||||
.optionedEvent(oeeSelectCat);
|
||||
end;
|
||||
|
||||
procedure TCEOptionEditorWidget.inspectorModified(Sender: TObject);
|
||||
|
|
Loading…
Reference in New Issue