diff --git a/assets/text/TODO b/assets/text/TODO index 2705573..66c5e25 100644 --- a/assets/text/TODO +++ b/assets/text/TODO @@ -18,6 +18,5 @@ d) switch from wxPython to GTK e) {copy,cut,insert from,paste} f) {fix,reduce} flickering when viewRect > (0, 0) -12) fix text tool {re,un}do bug when viewRect > (0, 0) & redo bug when redoing during cursor motion vim:ff=dos tw=0 diff --git a/libcanvas/CanvasJournal.py b/libcanvas/CanvasJournal.py index 8955549..1956115 100644 --- a/libcanvas/CanvasJournal.py +++ b/libcanvas/CanvasJournal.py @@ -7,8 +7,6 @@ class CanvasJournal(): # {{{ begin(self) def begin(self): - if self.patchesUndoLevel > 0: - del self.patchesUndo[0:self.patchesUndoLevel]; self.patchesUndoLevel = 0; deltaItem = [[], []]; self.patchesUndo.insert(0, deltaItem); # }}} # {{{ end(self)