From ac2fc9d78d5f9a4bc1760c0c1e388cd1dc04ac30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Sun, 15 May 2011 16:44:14 +0000 Subject: [PATCH] Fixed Issue 219. --- GUI/MainForm.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GUI/MainForm.cs b/GUI/MainForm.cs index 816c847..178b2fa 100644 --- a/GUI/MainForm.cs +++ b/GUI/MainForm.cs @@ -356,7 +356,11 @@ namespace OpenHardwareMonitor.GUI { settings.Save(fileName); } catch (UnauthorizedAccessException) { MessageBox.Show("Access to the path '" + fileName + "' is denied. " + - "The current seetings could not be saved.", + "The current settings could not be saved.", + "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } catch (IOException) { + MessageBox.Show("The path '" + fileName + "' is not writeable. " + + "The current settings could not be saved.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }