mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Copy file backward after edit it via open command
This commit is contained in:
parent
107472d525
commit
28884bec7c
1 changed files with 3 additions and 1 deletions
|
|
@ -60,7 +60,8 @@ implementation
|
|||
{$R *.lfm}
|
||||
|
||||
uses
|
||||
DCOSUtils, DCStrUtils, uTempFileSystemFileSource, uFileSourceOperation, uShellExecute;
|
||||
DCOSUtils, DCStrUtils, uTempFileSystemFileSource, uFileSourceOperation,
|
||||
uFileSourceCopyOperation, uShellExecute;
|
||||
|
||||
procedure ShowFileEditExternal(const FileName, FromPath: string; aWaitData: TWaitData; Modal: Boolean = False);
|
||||
begin
|
||||
|
|
@ -109,6 +110,7 @@ begin
|
|||
// Create wait window
|
||||
with TfrmFileExecuteYourSelf.Create(Application, TempFileSource, aFile.Name, aFileView.CurrentAddress + aFileView.CurrentPath) do
|
||||
begin
|
||||
FWaitData:= TEditorWaitData.Create(Operation as TFileSourceCopyOperation);
|
||||
// Show wait window
|
||||
Show;
|
||||
// Save current directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue