mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-12 17:43:05 +00:00
Print exceptions in CharacterCreation::spawnDialog
This commit is contained in:
parent
f1b52c964a
commit
dca4704b4b
1 changed files with 124 additions and 117 deletions
|
|
@ -131,6 +131,8 @@ namespace MWGui
|
|||
}
|
||||
|
||||
void CharacterCreation::spawnDialog(const char id)
|
||||
{
|
||||
try
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
|
|
@ -262,6 +264,11 @@ namespace MWGui
|
|||
break;
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
std::cerr << "Failed to create chargen window: " << e.what() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void CharacterCreation::onReviewDialogDone(WindowBase* parWindow)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue