mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fixes it so when using SDL, the editor menubar will correctly react to accelerator commands.
This commit is contained in:
parent
e8d1238794
commit
3d65f1f8cd
|
|
@ -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…
Reference in a new issue