mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-10 15:49:00 +08:00
(GUI): fixed deleting of files on 64-bit systems.
This commit is contained in:
@@ -1133,7 +1133,8 @@ namespace GARbro.GUI
|
||||
try
|
||||
{
|
||||
var file_list = items.Select (entry => Path.Combine (CurrentPath, entry.Name));
|
||||
GARbro.Shell.File.Delete (file_list);
|
||||
if (!GARbro.Shell.File.Delete (file_list, new WindowInteropHelper(this).Handle))
|
||||
throw new ApplicationException ("Delete operation failed.");
|
||||
count = file_list.Count();
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user