Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
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 wrap: on
line diff
--- 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); } } }