From c040d62dec49a752dc2f52307d90174980ff9846 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Wed, 11 Mar 2026 09:41:46 +0100 Subject: [PATCH] constrict cell props to table cells in properties panel shapes like rectangles, arcs, circles, etc. must not show cell properties in the properties panel. closes #23398. --- eeschema/sch_tablecell.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eeschema/sch_tablecell.cpp b/eeschema/sch_tablecell.cpp index 6dbd3ec9ed..743ddcb110 100644 --- a/eeschema/sch_tablecell.cpp +++ b/eeschema/sch_tablecell.cpp @@ -463,12 +463,13 @@ static struct SCH_TABLECELL_DESC const wxString cellProps = _( "Cell Properties" ); - propMgr.AddProperty( new PROPERTY( _HKI( "Background Fill" ), &EDA_SHAPE::SetFilled, - &EDA_SHAPE::IsSolidFill ), + propMgr.AddProperty( new PROPERTY( + _HKI( "Background Fill" ), &EDA_SHAPE::SetFilled, &EDA_SHAPE::IsSolidFill ), cellProps ); - propMgr.AddProperty( new PROPERTY( _HKI( "Background Fill Color" ), - &EDA_SHAPE::SetFillColor, &EDA_SHAPE::GetFillColor ), + propMgr.AddProperty( new PROPERTY( _HKI( "Background Fill Color" ), + &EDA_SHAPE::SetFillColor, + &EDA_SHAPE::GetFillColor ), cellProps ) .SetIsHiddenFromRulesEditor(); }