# HG changeset patch # User IBBoard # Date 1266094085 0 # Node ID 8f9f757f209919771a1e34896d20803bdcf28cf1 # Parent d211d01efa449b9bc4d0cd1faf2ebaac68c292c2 Re #242: Create Qyoto GUI * Fix ordering of parameters for warning dialog * Change dialogs to error dialog, since load failed diff -r d211d01efa44 -r 8f9f757f2099 MainWindow.cs --- a/MainWindow.cs Sat Feb 13 19:45:08 2010 +0000 +++ b/MainWindow.cs Sat Feb 13 20:48:05 2010 +0000 @@ -94,12 +94,12 @@ catch (RequiredDataMissingException ex) { log.Error("Required data missing from race file", ex); - 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"); + 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"); } catch (InvalidFileException ex) { log.Error("Race file was invalid", ex); - QMessageBox.Warning(this, ex.Message, "invalid race file"); + QMessageBox.Critical(this, "invalid race file", ex.Message); } } }