Commit d18ce728 authored by Marco Serantoni's avatar Marco Serantoni

Patch from Craig Cross - fix to spurious event handling of wx-2.8

parent 81b3fdf1
......@@ -686,6 +686,9 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel,
DisplayOpt.DisplayPcbTrackFill = true;
int showTrackClearanceMode = DisplayOpt.ShowTrackClearanceMode;
if (g_FirstTrackSegment == NULL)
return;
NETCLASS* netclass = g_FirstTrackSegment->GetNetClass();
if( showTrackClearanceMode != DO_NOT_SHOW_CLEARANCE )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment