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
|
begin
|
||||||
Handled := true;
|
Handled := true;
|
||||||
{$IFDEF LINUX}
|
{$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 ()
|
// fixes the error raised when the update is called after docClosing ()
|
||||||
// looks like a syncro error, needs more investigation.
|
// looks like a syncro error, needs more investigation.
|
||||||
Application.DisableIdleHandler;
|
Application.DisableIdleHandler;
|
||||||
|
|
|
@ -35,7 +35,7 @@ inherited CEOptionEditorWidget: TCEOptionEditorWidget
|
||||||
Width = 140
|
Width = 140
|
||||||
Align = alLeft
|
Align = alLeft
|
||||||
AutoExpand = True
|
AutoExpand = True
|
||||||
DefaultItemHeight = 18
|
DefaultItemHeight = 16
|
||||||
HideSelection = False
|
HideSelection = False
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
ScrollBars = ssAutoBoth
|
ScrollBars = ssAutoBoth
|
||||||
|
|
|
@ -20,8 +20,6 @@ type
|
||||||
observer: ICEEditableOptions;
|
observer: ICEEditableOptions;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//TODO-cbugfix: linux only, a conversion error is raised after a color's been edited using the dialog color.
|
|
||||||
|
|
||||||
{ TCEOptionEditorWidget }
|
{ TCEOptionEditorWidget }
|
||||||
|
|
||||||
TCEOptionEditorWidget = class(TCEWidget)
|
TCEOptionEditorWidget = class(TCEWidget)
|
||||||
|
@ -180,6 +178,8 @@ begin
|
||||||
.optionedEvent(oeeCancel);
|
.optionedEvent(oeeCancel);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
procedure TCEOptionEditorWidget.inspectorEditorFilter(Sender: TObject;aEditor:
|
procedure TCEOptionEditorWidget.inspectorEditorFilter(Sender: TObject;aEditor:
|
||||||
TPropertyEditor; var aShow: boolean);
|
TPropertyEditor; var aShow: boolean);
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue