1
0
Fork 0

Avoid crash when reloading GUI from debug menu.

This commit is contained in:
James Turner 2011-11-20 16:33:22 +00:00
parent ebfdebeb43
commit 9e344ee645

View file

@ -100,11 +100,7 @@ NewGUI::reset (bool reload)
setStyle();
unbind();
#if defined(SG_MAC)
if (reload) {
_menubar.reset(new FGCocoaMenuBar);
}
#else
#if !defined(SG_MAC)
_menubar.reset(new FGPUIMenuBar);
#endif