# HG changeset patch
# User Laurent Bessard
# Date 1366672779 -7200
# Node ID efcc2283dd7744a835f750bb4bbdc0f3b737bc0a
# Parent  103467ccb22faec8aa264fad256e6c4853c01512
Fixed bug when using 'Adjust Block Size' contextual menu item on a group of selected elements

diff -r 103467ccb22f -r efcc2283dd77 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)
 
 
 #-------------------------------------------------------------------------------