changeset 17:8f9f757f2099

Re #242: Create Qyoto GUI * Fix ordering of parameters for warning dialog * Change dialogs to error dialog, since load failed
author IBBoard <dev@ibboard.co.uk>
date Sat, 13 Feb 2010 20:48:05 +0000
parents d211d01efa44
children ab016fcda350
files MainWindow.cs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/MainWindow.cs	Sat Feb 13 19:45:08 2010 +0000
     1.2 +++ b/MainWindow.cs	Sat Feb 13 20:48:05 2010 +0000
     1.3 @@ -94,12 +94,12 @@
     1.4  					catch (RequiredDataMissingException ex)
     1.5  					{
     1.6  						log.Error("Required data missing from race file", ex);
     1.7 -						QMessageBox.Warning(this, "Invalid race file data", "the race file for the requested data could not be loaded as it did not contain some required data");
     1.8 +						QMessageBox.Critical(this, "Invalid race file data", "the race file for the requested data could not be loaded as it did not contain some required data");
     1.9  					}
    1.10  					catch (InvalidFileException ex)
    1.11  					{
    1.12  						log.Error("Race file was invalid", ex);
    1.13 -						QMessageBox.Warning(this, ex.Message,  "invalid race file");
    1.14 +						QMessageBox.Critical(this, "invalid race file", ex.Message);
    1.15  					}
    1.16  				}
    1.17  			}