Fixed bug when using 'Adjust Block Size' contextual menu item on a group of selected elements
authorLaurent Bessard
Tue, 23 Apr 2013 01:19:39 +0200
changeset 1047 efcc2283dd77
parent 1046 103467ccb22f
child 1048 b450202605ab
Fixed bug when using 'Adjust Block Size' contextual menu item on a group of selected elements
graphics/GraphicCommons.py
--- a/graphics/GraphicCommons.py	Mon Apr 22 23:49:04 2013 +0200
+++ b/graphics/GraphicCommons.py	Tue Apr 23 01:19:39 2013 +0200
@@ -1493,9 +1493,9 @@
         self.Parent.PopupGroupMenu()
 
     # Refreshes the model of all the elements of this group
-    def RefreshModel(self):
+    def RefreshModel(self, move=True):
         for element in self.Elements:
-            element.RefreshModel()
+            element.RefreshModel(move)
 
 
 #-------------------------------------------------------------------------------