Fix menu crash on Mac
Merge pull request #131 from gabriele-v/master

Fix menu crash on Mac