← Back to team overview

kicad-developers team mailing list archive

[PATCH] Always bring LAYER_CURSOR to the front

 

Fixes: https://bugs.launchpad.net/kicad/+bug/1741357

-Jon
From 1a88f2b7606bdb8a0c903d9c3749a9f7e1e11272 Mon Sep 17 00:00:00 2001
From: Jon Evans <jon@xxxxxxxxxxxxx>
Date: Sat, 6 Jan 2018 09:58:29 -0500
Subject: [PATCH] Always bring LAYER_CURSOR to the front

Fixes: lp:1741357
* https://bugs.launchpad.net/kicad/+bug/1741357
---
 pcbnew/pcb_draw_panel_gal.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pcbnew/pcb_draw_panel_gal.cpp b/pcbnew/pcb_draw_panel_gal.cpp
index 83adabeec..b3af36802 100644
--- a/pcbnew/pcb_draw_panel_gal.cpp
+++ b/pcbnew/pcb_draw_panel_gal.cpp
@@ -210,7 +210,8 @@ void PCB_DRAW_PANEL_GAL::SetHighContrastLayer( PCB_LAYER_ID aLayer )
                 GetNetnameLayer( aLayer ),
                 LAYER_VIA_THROUGH, LAYER_VIAS_HOLES, LAYER_VIAS_NETNAMES,
                 LAYER_PADS_TH, LAYER_PADS_PLATEDHOLES, LAYER_PADS_NETNAMES,
-                LAYER_NON_PLATEDHOLES, LAYER_GP_OVERLAY, LAYER_RATSNEST
+                LAYER_NON_PLATEDHOLES, LAYER_GP_OVERLAY, LAYER_RATSNEST,
+                LAYER_CURSOR
         };
 
         for( unsigned int i = 0; i < sizeof( layers ) / sizeof( LAYER_NUM ); ++i )
-- 
2.14.1


Follow ups