Properties: Skipped group should not assert

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13028
This commit is contained in:
Jon Evans 2022-11-29 18:12:28 -05:00
parent 1a670f4673
commit 12b7e68703
1 changed files with 3 additions and 1 deletions

View File

@ -239,7 +239,9 @@ void PROPERTIES_PANEL::update( const SELECTION& aSelection )
for( const wxString& groupName : groupDisplayOrder )
{
wxASSERT( pgPropGroups.count( groupName ) );
if( !pgPropGroups.count( groupName ) )
continue;
std::vector<wxPGProperty*>& properties = pgPropGroups[groupName];
auto groupItem = new wxPropertyCategory( groupName == wxEmptyString ?