fix checking for deleting source file when windream is disabled

This commit is contained in:
Jonathan Jenne 2020-06-05 12:42:25 +02:00
parent bef22dece2
commit 539c8cd083

View File

@ -1241,7 +1241,7 @@ Public Class frmIndex
Loop
End If
'Die Datei wird nun verschoben
If CONFIG.Config.DeleteOriginalFile = True Then
If CURR_DELETE_ORIGIN = True Then
My.Computer.FileSystem.MoveFile(CURRENT_WORKFILE, CURRENT_NEWFILENAME)
Else
My.Computer.FileSystem.CopyFile(CURRENT_WORKFILE, CURRENT_NEWFILENAME)