From 08b02f2a1a801bb5427431312f0a14923a3c1cbd Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Mon, 5 Feb 2024 19:12:09 -0500 Subject: [PATCH] Add junction color property --- eeschema/sch_junction.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/sch_junction.cpp b/eeschema/sch_junction.cpp index 3ef845ef2d..7e89fb9b7a 100644 --- a/eeschema/sch_junction.cpp +++ b/eeschema/sch_junction.cpp @@ -364,5 +364,9 @@ static struct SCH_JUNCTION_DESC propMgr.AddProperty( new PROPERTY( _HKI( "Diameter" ), &SCH_JUNCTION::SetDiameter, &SCH_JUNCTION::GetDiameter, PROPERTY_DISPLAY::PT_SIZE ) ); + + propMgr.AddProperty( new PROPERTY( _HKI( "Color" ), + &SCH_JUNCTION::SetColor, &SCH_JUNCTION::GetColor ) ); + } } _SCH_JUNCTION_DESC;