Allow wildcard matching for Netclass naming
Fixes https://gitlab.com/kicad/code/kicad/issues/21455
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ bool NETCLASS::ContainsNetclassWithName( const wxString& netclass ) const
|
||||
return std::any_of( m_constituents.begin(), m_constituents.end(),
|
||||
[&netclass]( const NETCLASS* nc )
|
||||
{
|
||||
return nc && nc->GetName() == netclass;
|
||||
return nc && nc->GetName().Matches( netclass );
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user