equal
deleted
inserted
replaced
1491 def OnRightUp(self, event, dc, scaling): |
1491 def OnRightUp(self, event, dc, scaling): |
1492 # Popup the menu with special items for a group |
1492 # Popup the menu with special items for a group |
1493 self.Parent.PopupGroupMenu() |
1493 self.Parent.PopupGroupMenu() |
1494 |
1494 |
1495 # Refreshes the model of all the elements of this group |
1495 # Refreshes the model of all the elements of this group |
1496 def RefreshModel(self): |
1496 def RefreshModel(self, move=True): |
1497 for element in self.Elements: |
1497 for element in self.Elements: |
1498 element.RefreshModel() |
1498 element.RefreshModel(move) |
1499 |
1499 |
1500 |
1500 |
1501 #------------------------------------------------------------------------------- |
1501 #------------------------------------------------------------------------------- |
1502 # Connector for all types of blocks |
1502 # Connector for all types of blocks |
1503 #------------------------------------------------------------------------------- |
1503 #------------------------------------------------------------------------------- |