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

This commit is contained in:
Alexander Koblov 2023-02-17 20:33:46 +03:00
commit 6361f6577b

View file

@ -4532,6 +4532,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;