Fix drag&drop save file

Missed a 'return', the logic afterwards handles loading a PKM (which we
know the file is NOT).

Thanks @Favna

Previous two commits & this one resolve #127
This commit is contained in:
Kaphotics 2016-06-29 17:36:03 -07:00
parent c14b87fcd9
commit d8ed96fd69

View file

@ -4195,7 +4195,7 @@ namespace PKHeX
return;
string file = files[0];
if (!PKX.getIsPKM(new FileInfo(file).Length))
openQuick(file);
{ openQuick(file); return; }
byte[] data = File.ReadAllBytes(file);
PKM temp = PKMConverter.getPKMfromBytes(data);