From 2a198e22e2a62c992a80c0e38ae78e011b8db915 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 23 Nov 2023 23:25:32 +0000 Subject: [PATCH] Draw tuning pattern border when placing. --- pcbnew/generators/pcb_tuning_pattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/generators/pcb_tuning_pattern.cpp b/pcbnew/generators/pcb_tuning_pattern.cpp index db5c7a92de..d504a135e8 100644 --- a/pcbnew/generators/pcb_tuning_pattern.cpp +++ b/pcbnew/generators/pcb_tuning_pattern.cpp @@ -1320,7 +1320,7 @@ SHAPE_LINE_CHAIN PCB_TUNING_PATTERN::getRectShape() const void PCB_TUNING_PATTERN::ViewDraw( int aLayer, KIGFX::VIEW* aView ) const { - if( !IsSelected() ) + if( !IsSelected() && !IsNew() ) return; KIGFX::PREVIEW::DRAW_CONTEXT ctx( *aView );