From 50eedcf0b370e9b449c9f18202aba243579d4842 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 23 Nov 2018 10:53:26 -0800 Subject: [PATCH] MSW Ratsnest: Force marking ratsnest dirty When updating the status of the ratsnest, we mark its target layer as dirty to ensure the revised data are used to draw/clear the ratsnest Fixes: lp:1800301 * https://bugs.launchpad.net/kicad/+bug/1800301 --- pcbnew/tools/pcb_editor_control.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/tools/pcb_editor_control.cpp b/pcbnew/tools/pcb_editor_control.cpp index 5b9d0d84d8..92bf785a1a 100644 --- a/pcbnew/tools/pcb_editor_control.cpp +++ b/pcbnew/tools/pcb_editor_control.cpp @@ -1104,6 +1104,8 @@ static bool showLocalRatsnest( TOOL_MANAGER* aToolMgr, BOARD* aBoard, const VECT } } + aToolMgr->GetView()->MarkTargetDirty( KIGFX::TARGET_OVERLAY ); + return true; }