mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 15:43:45 +00:00
* [Editor] BugFix: Correct the inability to use function keys F1-F10 when running the editor. These keys were supposed to open a series of other editors.
This commit is contained in:
parent
14ebeaf3eb
commit
27d75486e6
1 changed files with 3 additions and 2 deletions
|
|
@ -359,8 +359,9 @@ function EditorGui::addToEditorsMenu( %this, %displayName, %accel, %newPlugin )
|
|||
|
||||
if(!%alreadyExists)
|
||||
{
|
||||
EditorsMenuList.add(%displayName TAB %accel TAB %newPlugin);
|
||||
%windowMenu.addItem( %count, %displayName TAB %accel TAB %newPlugin );
|
||||
%pluginCommand = "EditorGui.setEditor(" @ %newPlugin @ ");";
|
||||
EditorsMenuList.add(%displayName TAB %accel TAB %pluginCommand);
|
||||
%windowMenu.addItem( %count, %displayName TAB %accel TAB %pluginCommand);
|
||||
}
|
||||
|
||||
return %accel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue