# HG changeset patch
# User laurent
# Date 1260969935 -3600
# Node ID d1c9517c0fe0859509c21de89fedfc3189ef9842
# Parent  c91644c2bfa7457f83e4207bc33743135f3aeb7f
Bug on drawing coil fixed

diff -r c91644c2bfa7 -r d1c9517c0fe0 graphics/LD_Objects.py
--- a/graphics/LD_Objects.py	Wed Dec 16 14:22:57 2009 +0100
+++ b/graphics/LD_Objects.py	Wed Dec 16 14:25:35 2009 +0100
@@ -923,12 +923,7 @@
     def Draw(self, dc):
         Graphic_Element.Draw(self, dc)
         if self.Value is not None and self.Value:
-            if self.Forced:
-                dc.SetPen(wx.Pen(wx.CYAN, 2, wx.SOLID))
-            else:
-                dc.SetPen(wx.Pen(wx.GREEN, 2, wx.SOLID))
-        elif self.Forced:
-            dc.SetPen(wx.Pen(wx.BLUE, 2, wx.SOLID))
+            dc.SetPen(wx.Pen(wx.GREEN, 2, wx.SOLID))
         else:
             dc.SetPen(wx.Pen(wx.BLACK, 2, wx.SOLID))
         dc.SetBrush(wx.TRANSPARENT_BRUSH)