FIX: Bug [0002401] Access violation after swapping panels whilst quickview is open

This commit is contained in:
Alexander Koblov 2019-11-23 17:50:11 +00:00
commit 50431e69b9

View file

@ -1050,6 +1050,8 @@ begin
AFileView:= ActiveFrame;
NFileView:= NotActiveFrame;
if Assigned(QuickViewPanel) then QuickViewClose;
AFree:= ActiveNotebook.ActivePage.LockState <> tlsDirsInNewTab;
if AFree then ActiveNotebook.ActivePage.RemoveComponent(AFileView);