mirror of https://gitlab.com/basile.b/dexed.git
fix, temp, option editor, convert error after color dialog
This commit is contained in:
parent
df7e91d1b5
commit
389ff729db
|
@ -713,6 +713,10 @@ var
|
|||
begin
|
||||
Handled := true;
|
||||
{$IFDEF LINUX}
|
||||
// TODO-cbugfix-linux: AV when closing document, current workaround may have other side effects.
|
||||
// fixes some issues with property inspectors.
|
||||
// option editor: IdleTimer seems to be used to refresh values after editing (e.g TColorPropertyEditor)
|
||||
If not Focused then exit;
|
||||
// fixes the error raised when the update is called after docClosing ()
|
||||
// looks like a syncro error, needs more investigation.
|
||||
Application.DisableIdleHandler;
|
||||
|
|
|
@ -35,7 +35,7 @@ inherited CEOptionEditorWidget: TCEOptionEditorWidget
|
|||
Width = 140
|
||||
Align = alLeft
|
||||
AutoExpand = True
|
||||
DefaultItemHeight = 18
|
||||
DefaultItemHeight = 16
|
||||
HideSelection = False
|
||||
ReadOnly = True
|
||||
ScrollBars = ssAutoBoth
|
||||
|
|
|
@ -20,8 +20,6 @@ type
|
|||
observer: ICEEditableOptions;
|
||||
end;
|
||||
|
||||
//TODO-cbugfix: linux only, a conversion error is raised after a color's been edited using the dialog color.
|
||||
|
||||
{ TCEOptionEditorWidget }
|
||||
|
||||
TCEOptionEditorWidget = class(TCEWidget)
|
||||
|
@ -180,6 +178,8 @@ begin
|
|||
.optionedEvent(oeeCancel);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
procedure TCEOptionEditorWidget.inspectorEditorFilter(Sender: TObject;aEditor:
|
||||
TPropertyEditor; var aShow: boolean);
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue