diff -r 4a76987f8a40 -r 436268f31dae graphics/SFC_Objects.py --- a/graphics/SFC_Objects.py Sun Dec 09 16:59:15 2007 +0100 +++ b/graphics/SFC_Objects.py Sun Dec 09 17:07:45 2007 +0100 @@ -373,6 +373,7 @@ if self.Parent.GetDrawingMode() == FREEDRAWING_MODE: self.Move(movex, movey) self.RefreshConnected() + return True, True elif self.Initial: self.MoveActionBlock((movex, movey)) self.Move(movex, movey, self.Parent.Wires) @@ -1494,6 +1495,11 @@ # Edit the action block properties self.Parent.EditActionBlockContent(self) + # Method called when a RightUp event have been generated + def OnRightUp(self, event, dc, scaling): + # Popup the default menu + self.Parent.PopupDefaultMenu() + # Refreshes the action block state according to move defined and handle selected def ProcessDragging(self, movex, movey): if self.Parent.GetDrawingMode() != FREEDRAWING_MODE: