Fixes issues with shifting the gui selection dropdown to be searchable via the Ex control.

This commit is contained in:
JeffR 2025-09-06 19:28:14 -05:00
parent 1d2ed41ab3
commit 50e05800f4
3 changed files with 30 additions and 12 deletions

View file

@ -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 );
}