mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 18:43:48 +00:00
Merge pull request #1423 from Areloch/SDL_menu_accelerator_fix
SDL Menubar accelerator fix
This commit is contained in:
commit
f6bf0282b8
2 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ function MenuBuilder::addItem(%this, %pos, %item)
|
|||
}
|
||||
else
|
||||
{
|
||||
%this.insertItem(%pos, %name !$= "-" ? %name : "", %accel);
|
||||
%this.insertItem(%pos, %name !$= "-" ? %name : "", %accel, %cmd);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ function MenuBuilder::addItem(%this, %pos, %item)
|
|||
}
|
||||
else
|
||||
{
|
||||
%this.insertItem(%pos, %name !$= "-" ? %name : "", %accel);
|
||||
%this.insertItem(%pos, %name !$= "-" ? %name : "", %accel, %cmd);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue