From c2639a1bc74b4019c375cbeaac8f5eed135878c6 Mon Sep 17 00:00:00 2001 From: RKrom Date: Thu, 7 Mar 2013 11:20:36 +0000 Subject: [PATCH] Fix for #1470, preventing Exception pop-up (showing a message instead) and using fall-back if the last location is no longer available. git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2526 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Forms/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index 73e1e2a27..f2932f99d 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -1260,7 +1260,7 @@ namespace Greenshot { ex.Data.Add("path", path); LOG.Warn("Couldn't open the path to the last exported file", ex); // No reason to create a bug-form, we just display the error. - MessageBox.Show(ex.Message, "Greenshot", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, ex.Message, "Opening " + path, MessageBoxButtons.OK, MessageBoxIcon.Error); } }