FIX: Locked tabs - reuse existing tab when possible (with archive)

(cherry picked from commit 6361f6577b)
This commit is contained in:
Alexander Koblov 2023-02-17 20:33:46 +03:00
commit 75009e20ab

View file

@ -4344,6 +4344,7 @@ begin
begin
NewPage := ANotebook.Page[i];
PageAlreadyExists := Assigned(NewPage.FileView) and
mbCompareFileNames(NewPage.FileView.CurrentAddress, NewFileSource.CurrentAddress) and
mbCompareFileNames(NewPage.FileView.CurrentPath, NewPath);
if PageAlreadyExists then
Break;