mirror of https://gitlab.com/basile.b/dexed.git
prevent possible unsafe access when opening a doc with split view activated
This commit is contained in:
parent
918388e9ef
commit
e35b4a672a
|
@ -838,6 +838,8 @@ var
|
|||
dc1: TCESynMemo = nil;
|
||||
dc2: TCESynMemo = nil;
|
||||
begin
|
||||
if page.isNil or (page.ControlCount = 0) then
|
||||
exit;
|
||||
if pageControl.splitPage.isNotNil and
|
||||
(page <> pageControl.splitPage) then
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue