diff --git a/pcbnew/pcb_text.cpp b/pcbnew/pcb_text.cpp index 8ba1b33a7e..8482ebd211 100644 --- a/pcbnew/pcb_text.cpp +++ b/pcbnew/pcb_text.cpp @@ -341,5 +341,9 @@ static struct PCB_TEXT_DESC propMgr.AddTypeCast( new TYPE_CAST ); propMgr.InheritsAfter( TYPE_HASH( PCB_TEXT ), TYPE_HASH( BOARD_ITEM ) ); propMgr.InheritsAfter( TYPE_HASH( PCB_TEXT ), TYPE_HASH( EDA_TEXT ) ); + + propMgr.AddProperty( new PROPERTY( _HKI( "Knockout" ), + &BOARD_ITEM::SetIsKnockout, &BOARD_ITEM::IsKnockout ), + _HKI( "Text Properties" ) ); } } _PCB_TEXT_DESC;