Avoid the crash if used in a simulator

This commit is contained in:
Bertrand Songis
2020-06-19 17:10:05 +02:00
parent bf3a4f6582
commit a6a8543205
+5
View File
@@ -32,6 +32,11 @@ class MainWindow: public Window {
{
}
~MainWindow() override
{
children.clear();
}
#if defined(DEBUG_WINDOWS)
std::string getName() const override
{