mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-20 07:01:27 +02:00
Whoops, close DropDown windows before disposing
This commit is contained in:
@@ -71,6 +71,7 @@ public:
|
|||||||
}
|
}
|
||||||
virtual void OnTryExit(ExitMethod method)
|
virtual void OnTryExit(ExitMethod method)
|
||||||
{
|
{
|
||||||
|
ui::Engine::Ref().CloseWindow();
|
||||||
SelfDestruct();
|
SelfDestruct();
|
||||||
}
|
}
|
||||||
virtual ~DropDownWindow() {}
|
virtual ~DropDownWindow() {}
|
||||||
|
Reference in New Issue
Block a user