mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +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
2 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ function MenuBuilder::addItem(%this, %pos, %item)
|
||||||
}
|
}
|
||||||
else
|
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
|
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