diff --git a/src/menu/menudef.cpp b/src/menu/menudef.cpp index a3bc15259..15205c132 100644 --- a/src/menu/menudef.cpp +++ b/src/menu/menudef.cpp @@ -136,6 +136,7 @@ DEFINE_ACTION_FUNCTION(FOptionValues, GetText) void DeinitMenus() { + if (CurrentMenu) CurrentMenu->Destroy(); { FOptionMap::Iterator it(OptionValues);