mirror of https://gitlab.com/basile.b/dexed.git
tweak the fix #307 to prevent AV
This commit is contained in:
parent
324322ff27
commit
1ddae5765a
|
@ -1136,7 +1136,9 @@ end;
|
|||
|
||||
procedure TCESynMemo.handleModalBeginning(sender: TObject);
|
||||
begin
|
||||
cursor := crDefault;
|
||||
// AV can happens in TCustomSynEdit.UpdateCursor
|
||||
if assigned(FTextArea) then
|
||||
cursor := crDefault;
|
||||
end;
|
||||
|
||||
procedure TCESynMemo.setFocus;
|
||||
|
|
Loading…
Reference in New Issue