1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: workaround broken "Open Recent" submenu

This commit is contained in:
stefan 2016-10-12 15:17:43 +02:00
parent 701fd8a216
commit 439ecc391b

View file

@ -157,7 +157,9 @@ void ProjucerApplication::handleAsyncUpdate()
PopupMenu extraAppleMenuItems;
createExtraAppleMenuItems (extraAppleMenuItems);
MenuBarModel::setMacMainMenu (menuModel, &extraAppleMenuItems, "Open Recent");
// workaround broken "Open Recent" submenu: not passing the
// submenu's title here avoids the defect in JuceMainMenuHandler::addMenuItem
MenuBarModel::setMacMainMenu (menuModel, &extraAppleMenuItems); //, "Open Recent");
#endif
versionChecker = new LatestVersionChecker();