prevent possible unsafe access when opening a doc with split view activated

This commit is contained in:
Basile Burg 2018-07-09 00:48:42 +02:00
parent 918388e9ef
commit e35b4a672a
1 changed files with 2 additions and 0 deletions

View File

@ -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