Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/gui/editors/editnote.py [7f2bd9] .. [17a414] Maximize Restore

  Switch to side-by-side view

--- a/src/gui/editors/editnote.py
+++ b/src/gui/editors/editnote.py
@@ -270,7 +270,8 @@
         # setup initial values for textview and textbuffer
         if self.obj:
             self.empty = False
-            self.texteditor.set_text(self.obj.get_styledtext())
+            with self.texteditor.undo_disabled():
+                self.texteditor.set_text(self.obj.get_styledtext())
             # Reset the undoable buffer:
             self.texteditor.reset()
             _LOG.debug("Initial Note: %s" % str(self.texteditor.get_text()))