Fix beep when selecting no menu item
This commit is contained in:
parent
c1862532b8
commit
37929beede
|
@ -94,6 +94,10 @@ static void HandleMenuCommand(long command)
|
||||||
WindowRef window;
|
WindowRef window;
|
||||||
ProjectHandle project;
|
ProjectHandle project;
|
||||||
|
|
||||||
|
if (command == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (menuID) {
|
switch (menuID) {
|
||||||
case rMENU_Apple:
|
case rMENU_Apple:
|
||||||
switch (item) {
|
switch (item) {
|
||||||
|
|
Loading…
Reference in New Issue