← Back to team overview

kicad-developers team mailing list archive

Buglet - Grid color not saved in eeschema

 

In the eeschema preferences the grid color is not saved. Didn't check
if in pcbnew it does so...

Quick patch to fix it (DARKDARKGRAY is MY default :P):

Index: eeconfig.h
===================================================================
--- eeconfig.h (revision 1629)
+++ eeconfig.h (working copy)
@@ -271,6 +271,14 @@
RED /* Default value */
);
 
+static PARAM_CFG_SETCOLOR ColorLayerGridCfg
+(
+ INSETUP,
+ wxT( "ColorGrid" ), /* Ident String */
+ &g_GridColor, /* Parameter address */
+ DARKDARKGRAY /* Default 
value */
+);
+
static PARAM_CFG_INT PlotMarginCfg
(
INSETUP,
@@ -513,6 +521,7 @@
&ColorLayerNoConnectCfg,
&ColorLayerErcWarnCfg,
&ColorLayerErcErrCfg,
+ &ColorLayerGridCfg,
 
&PlotMarginCfg,
&HPGLSpeed,







Follow ups