mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
Close the preview dialogue when the model throws an exception
This commit is contained in:
@@ -36,6 +36,7 @@ void PreviewController::Update()
|
||||
}
|
||||
catch (PreviewModelException & e)
|
||||
{
|
||||
Exit();
|
||||
new ErrorMessage("Error", e.what());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user