fix an exception when pasting in the LD editor
authorb.taylor@willowglen.ca
Thu, 17 Sep 2009 11:16:14 -0600
changeset 426 afe2488a4635
parent 425 dbc4a66190a6
child 427 22d16c457d87
fix an exception when pasting in the LD editor
LDViewer.py
--- a/LDViewer.py	Wed Sep 16 11:51:28 2009 -0600
+++ b/LDViewer.py	Thu Sep 17 11:16:14 2009 -0600
@@ -181,8 +181,8 @@
         self.RungComments = []
         Viewer.ResetView(self)
 
-    def RefreshView(self):
-        Viewer.RefreshView(self)
+    def RefreshView(self, selection=None):
+        Viewer.RefreshView(self, selection)
         for i, rung in enumerate(self.Rungs):
             bbox = rung.GetBoundingBox()
             if i < len(self.RungComments):