From d8ed96fd698b0a315f130bcbb88691d1d4c653b1 Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Wed, 29 Jun 2016 17:36:03 -0700 Subject: [PATCH] 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 --- PKX/f1-Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKX/f1-Main.cs b/PKX/f1-Main.cs index a2d81d2ba..a17646017 100644 --- a/PKX/f1-Main.cs +++ b/PKX/f1-Main.cs @@ -4195,7 +4195,7 @@ private void pbBoxSlot_DragDrop(object sender, DragEventArgs e) 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);