1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-21 03:14:06 +00:00

Print exceptions in CharacterCreation::spawnDialog

This commit is contained in:
scrawl 2015-07-13 18:40:05 +02:00
parent f1b52c964a
commit dca4704b4b

View file

@ -131,6 +131,8 @@ namespace MWGui
} }
void CharacterCreation::spawnDialog(const char id) void CharacterCreation::spawnDialog(const char id)
{
try
{ {
switch (id) switch (id)
{ {
@ -262,6 +264,11 @@ namespace MWGui
break; break;
} }
} }
catch (std::exception& e)
{
std::cerr << "Failed to create chargen window: " << e.what() << std::endl;
}
}
void CharacterCreation::onReviewDialogDone(WindowBase* parWindow) void CharacterCreation::onReviewDialogDone(WindowBase* parWindow)
{ {