Close the preview dialogue when the model throws an exception

This commit is contained in:
Simon Robertshaw
2012-06-08 22:55:11 +01:00
parent 0ee1e1875d
commit 46614017c8

View File

@@ -36,6 +36,7 @@ void PreviewController::Update()
}
catch (PreviewModelException & e)
{
Exit();
new ErrorMessage("Error", e.what());
}
}