FIX: Crash on exit from thumbnails view

This commit is contained in:
Alexander Koblov 2013-07-10 05:05:36 +00:00
commit 927456793b

View file

@ -1154,7 +1154,8 @@ procedure TFileViewWithMainCtrl.WorkerFinished(const Worker: TFileViewWorker);
begin
inherited WorkerFinished(Worker);
MainControl.Cursor := crDefault;
UpdateInfoPanel; // Update status line only
// Update status line only
if not (csDestroying in ComponentState) then UpdateInfoPanel;
end;
procedure TFileViewWithMainCtrl.ShowRenameFileEdit(AFile: TFile);