mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Fixes issues with shifting the gui selection dropdown to be searchable via the Ex control.
This commit is contained in:
parent
1d2ed41ab3
commit
50e05800f4
3 changed files with 30 additions and 12 deletions
|
|
@ -96,7 +96,11 @@ function GuiEditorContentList::scanGroup( %this, %group )
|
|||
|
||||
//---------------------------------------------------------------------------------------------
|
||||
|
||||
function GuiEditorContentList::onSelect( %this, %ctrl )
|
||||
function GuiEditorContentList::onSelect( %this, %index, %text )
|
||||
{
|
||||
GuiEditor.openForEditing( %ctrl );
|
||||
//Strip out just the guiControl id
|
||||
%ctrlId = getToken(%text, "-", 1);
|
||||
%ctrlId = trim(%ctrlId);
|
||||
|
||||
GuiEditor.openForEditing( %ctrlId );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue