Viewer.py
changeset 327 7fd5233ce5ce
parent 323 fd3a3a002bce
child 330 d803ba077da0
--- a/Viewer.py	Wed Mar 18 15:54:37 2009 +0100
+++ b/Viewer.py	Wed Mar 18 15:56:45 2009 +0100
@@ -1285,7 +1285,7 @@
         if self.Mode == MODE_SELECTION:
             dc = self.GetLogicalDC()
             pos = event.GetLogicalPosition(dc)
-            if event.ControlDown() and self.SelectedElement is not None:
+            if event.ShiftDown() and self.SelectedElement is not None:
                 element = self.FindElement(pos, True)
                 if element is not None:
                     if isinstance(self.SelectedElement, Graphic_Group):
@@ -1338,7 +1338,7 @@
                         wire = Wire(self, [wx.Point(pos.x, pos.y), WEST], [wx.Point(scaled_pos.x, scaled_pos.y), EAST])
                     wire.oldPos = scaled_pos
                     wire.Handle = (HANDLE_POINT, 0)
-                    wire.ProcessDragging(0, 0, False, None)
+                    wire.ProcessDragging(0, 0, event, None)
                     wire.Handle = (HANDLE_POINT, 1)
                     self.AddWire(wire)
                     if self.SelectedElement is not None: