From 2db061d15d275a4ce78210f47c28c3592133bb6a Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 20 Jun 2017 18:16:29 -0700 Subject: [PATCH] Fix blank error message Closes #1251 Thanks @ReignOfComputer for finding the source :) --- PKHeX.WinForms/MainWindow/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index 8d772b299..6df3339db 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -180,7 +180,7 @@ namespace PKHeX.WinForms { try { - if (!DetectSaveFile(out string path)) + if (!DetectSaveFile(out string path) && path != null) WinFormsUtil.Error(path); if (path != null && File.Exists(path))