Merge pull request #92 from alexrj/bugfix-gviz-hilight

Bugfix: gviz exception while printing
master
kliment 2011-11-13 14:28:53 -08:00
commit 2bbb39d087
1 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ class gviz(wx.Panel):
self.pens[ target[2] ] += [self.mainpen if target[3] != self.lastpos[3] else self.travelpen]
self.lastpos = target
else:
self.hilight += line
self.hilight += [line]
self.hilightpos = target
self.dirty = 1
@ -266,7 +266,7 @@ class gviz(wx.Panel):
self.arcpens[ target[2] ] += [self.arcpen]
self.lastpos = target
else:
self.hilightarcs += arc
self.hilightarcs += [arc]
self.hilightpos = target
self.dirty = 1