Tastudio - properly load a file on drag and drop

This commit is contained in:
adelikat 2014-11-22 15:19:32 +00:00
parent 7de427fb3c
commit 584b5feaa3
1 changed files with 2 additions and 5 deletions

View File

@ -620,12 +620,9 @@ namespace BizHawk.Client.EmuHawk
if (Path.GetExtension(filePaths[0]) == "." + TasMovie.Extension)
{
var file = new FileInfo(filePaths[0]);
if (file != null)
if (file.Exists)
{
if (AskSaveChanges())
{
LoadFile(file);
}
LoadProject(file.FullName);
}
}
}