changeset 666 | d4bb66691248 |
parent 645 | 41782a92c2de |
child 667 | baab9eb5b8ad |
--- a/graphics/GraphicCommons.py Sat Mar 31 15:03:50 2012 +0200 +++ b/graphics/GraphicCommons.py Sat Mar 31 15:08:18 2012 +0200 @@ -416,6 +416,8 @@ # Method that returns the currently edited box def GetCurrentExtent(self): + if self.currentBox is None: + return self.lastBox return self.currentBox # Method called when a new box starts to be edited