1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Fix for using menu action lambdas in the Mac menu bar

This commit is contained in:
jules 2019-06-20 10:13:59 +01:00
parent c88611e5c8
commit cce26202ab

View file

@ -200,6 +200,12 @@ public:
{
if (currentModel != nullptr)
{
if (item.action != nullptr)
{
MessageManager::callAsync (item.action);
return;
}
if (item.customCallback != nullptr)
if (! item.customCallback->menuItemTriggered())
return;