mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Print exceptions in CharacterCreation::spawnDialog
This commit is contained in:
parent
f1b52c964a
commit
dca4704b4b
@ -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…
x
Reference in New Issue
Block a user