Properties: Set flag to prevent clobbering layer color swatch
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13020
This commit is contained in:
parent
41ca2789a6
commit
458935bb5a
|
@ -126,6 +126,7 @@ public:
|
|||
wxEnumProperty( aLabel, aName, const_cast<wxPGChoices&>( aChoices ), aValue ),
|
||||
m_colorFunc( []( const wxString& aChoice ) { return wxNullColour; } )
|
||||
{
|
||||
SetFlag( wxPG_PROP_CUSTOMIMAGE );
|
||||
}
|
||||
|
||||
wxSize OnMeasureImage( int aItem = -1 ) const override;
|
||||
|
|
Loading…
Reference in New Issue