Ver código fonte

FIX: Restore previous file view mode

Alexander Koblov 3 anos atrás
pai
commit
987bcfa124
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      src/fmain.pas

+ 4 - 0
src/fmain.pas

@@ -4317,6 +4317,10 @@ var
   DefaultView: TFileSourceFields;
 begin
   Result:= True;
+
+  if FileSource.Equals(FileView.FileSource) then
+    Exit;
+
   Page:= TFileViewPage(FileView.NotebookPage);
 
   if Page.Tag > 0 then Exit;