# HG changeset patch # User b.taylor@willowglen.ca # Date 1253207774 21600 # Node ID afe2488a46351c781a94b40115270cc698787137 # Parent dbc4a66190a63544755d9fc4ca37971a1d60ca2a fix an exception when pasting in the LD editor diff -r dbc4a66190a6 -r afe2488a4635 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):