Browse Source

Introjucer shutdown sequence fix.

tags/2021-05-28
jules 10 years ago
parent
commit
f23e6352fb
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      extras/Introjucer/Source/Application/jucer_Application.h

+ 8
- 8
extras/Introjucer/Source/Application/jucer_Application.h View File

@@ -104,16 +104,16 @@ public:
utf8Window = nullptr;
svgPathWindow = nullptr;
#if JUCE_MAC
MenuBarModel::setMacMainMenu (nullptr);
#endif
menuModel = nullptr;
mainWindowList.forceCloseAllWindows();
openDocumentManager.clear();
commandManager = nullptr;
settings = nullptr;
#if JUCE_MAC
MenuBarModel::setMacMainMenu (nullptr);
#endif
menuModel = nullptr;
LookAndFeel::setDefaultLookAndFeel (nullptr);
if (! isRunningCommandLine)
@@ -173,19 +173,19 @@ public:
setApplicationCommandManagerToWatch (&getCommandManager());
}
StringArray getMenuBarNames()
StringArray getMenuBarNames() override
{
return getApp().getMenuNames();
}
PopupMenu getMenuForIndex (int /*topLevelMenuIndex*/, const String& menuName)
PopupMenu getMenuForIndex (int /*topLevelMenuIndex*/, const String& menuName) override
{
PopupMenu menu;
getApp().createMenu (menu, menuName);
return menu;
}
void menuItemSelected (int menuItemID, int /*topLevelMenuIndex*/)
void menuItemSelected (int menuItemID, int /*topLevelMenuIndex*/) override
{
getApp().handleMainMenuCommand (menuItemID);
}


Loading…
Cancel
Save