Explorar el Código

UPD: Viewer - save image as (default directory and file name)

Alexander Koblov hace 2 años
padre
commit
b635c03750
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/fviewer.pas

+ 2 - 0
src/fviewer.pas

@@ -1723,6 +1723,8 @@ begin
   else begin
     with SavePictureDialog do
     begin
+      FileName:= EmptyStr;
+      InitialDir:= ExtractFileDir(FileList.Strings[iActiveFile]);
       if not Execute then Exit;
       sExt:= ExtensionSeparator + GetFilterExt;
       sFileName:= ChangeFileExt(FileName, sExt);