From f214f6f44ccf844b896e27f959247992fd8630d5 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 26 Dec 2022 14:04:53 -0500 Subject: [PATCH] Temporarily work around buggy zone refresh behavior The actual problem is that EVENTS::SelectedItemsModified (via EDA_DRAW_FRAME::UpdateMsgPanel) is being called on every OnModify call, where it really should only be called if the *selected* items are modified. This problem will take longer to fix. Fixes https://gitlab.com/kicad/code/kicad/-/issues/13279 --- pcbnew/widgets/pcb_properties_panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/widgets/pcb_properties_panel.cpp b/pcbnew/widgets/pcb_properties_panel.cpp index f03dbddc44..c04ba3fc1b 100644 --- a/pcbnew/widgets/pcb_properties_panel.cpp +++ b/pcbnew/widgets/pcb_properties_panel.cpp @@ -93,7 +93,7 @@ void PCB_PROPERTIES_PANEL::AfterCommit() PROPERTY_BASE* property = m_propMgr.GetProperty( TYPE_HASH( *firstItem ), pgProp->GetName() ); - wxASSERT( property ); + wxCHECK2( property, continue ); bool writeable = true;