MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / LoadVarList

Method LoadVarList

src/ide.cpp:2113–2122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2111}
2112
2113void UIEditorPanel::LoadVarList( const wxString &sel )
2114{
2115 m_varList->Freeze();
2116 m_varList->Clear();
2117 wxArrayString list = m_ipd.Variables().ListAll();
2118 list.Sort();
2119 m_varList->Append( list );
2120 m_varList->Thaw();
2121 if ( !sel.IsEmpty() ) m_varList->SetStringSelection( sel );
2122}
2123
2124bool UIEditorPanel::Write( const wxString &name )
2125{

Callers 1

OnCommandMethod · 0.80

Calls 3

SortMethod · 0.80
ClearMethod · 0.45
ListAllMethod · 0.45

Tested by

no test coverage detected