Properties: Skipped group should not assert
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13028
This commit is contained in:
parent
1a670f4673
commit
12b7e68703
|
@ -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 ?
|
||||
|
|
Loading…
Reference in New Issue