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
This commit is contained in:
RKrom 2013-03-07 11:20:36 +00:00
commit c2639a1bc7

View file

@ -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);
}
}