Browse Source

Show full component class string in pcb properties panel

Currently, the human-readable component class is shown in the info
bar. For multiple component classes, this means that not all will
be readable. Showing the formal ordered string in the properties
panel mitigates this issue.
pcb_db
JamesJCode 9 months ago
parent
commit
6af44c8ffa
  1. 7
      pcbnew/footprint.cpp

7
pcbnew/footprint.cpp

@ -4076,12 +4076,11 @@ static struct FOOTPRINT_DESC
NO_SETTER( FOOTPRINT, wxString ), &FOOTPRINT::GetKeywords ),
groupFields );
// Used only in DRC engine
// Note: Also used by DRC engine
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>(
_HKI( "Component Class" ), NO_SETTER( FOOTPRINT, wxString ),
&FOOTPRINT::GetComponentClassAsString ) )
.SetIsHiddenFromLibraryEditors()
.SetIsHiddenFromPropertiesManager();
&FOOTPRINT::GetComponentClassAsString ), groupFields )
.SetIsHiddenFromLibraryEditors();
const wxString groupAttributes = _HKI( "Attributes" );

Loading…
Cancel
Save