Fixed Issue 219.
authormoel.mich
Sun, 15 May 2011 16:44:14 +0000
changeset 284075a1822ef34
parent 283 fb88cac4a9aa
child 285 0820c0558727
Fixed Issue 219.
GUI/MainForm.cs
     1.1 --- a/GUI/MainForm.cs	Sun May 15 16:20:30 2011 +0000
     1.2 +++ b/GUI/MainForm.cs	Sun May 15 16:44:14 2011 +0000
     1.3 @@ -356,7 +356,11 @@
     1.4          settings.Save(fileName);
     1.5        } catch (UnauthorizedAccessException) {
     1.6          MessageBox.Show("Access to the path '" + fileName + "' is denied. " +
     1.7 -          "The current seetings could not be saved.", 
     1.8 +          "The current settings could not be saved.",
     1.9 +          "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    1.10 +      } catch (IOException) {
    1.11 +        MessageBox.Show("The path '" + fileName + "' is not writeable. " +
    1.12 +          "The current settings could not be saved.",
    1.13            "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    1.14        }
    1.15      }