From fac5fcb476df207b245e0ba985abafd37945ce63 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 27 Sep 2018 17:46:51 +0100 Subject: [PATCH] Don't draw the pad preview highlighted. --- pcbnew/dialogs/dialog_pad_properties.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index 088befee91..8186f137fb 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -142,7 +142,10 @@ DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES( PCB_BASE_FRAME* aParent, D_PAD* aP m_dummyPad = new D_PAD( (MODULE*) NULL ); if( aPad ) + { *m_dummyPad = *aPad; + m_dummyPad->ClearFlags( SELECTED|HIGHLIGHTED|BRIGHTENED ); + } else // We are editing a "master" pad, i.e. a template to create new pads *m_dummyPad = *m_padMaster;