Mercurial > MadButterfly
diff pyink/domview_ui.py @ 1275:776b024ae8f9
Fix the buggy implementation of reset()
- old implementation is too buggy to make a lot wrong assumption.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 12 Jan 2011 21:41:26 +0800 |
parents | a4d3838264dd |
children | f7395e788aaf |
line wrap: on
line diff
--- a/pyink/domview_ui.py Wed Jan 12 21:20:06 2011 +0800 +++ b/pyink/domview_ui.py Wed Jan 12 21:41:26 2011 +0800 @@ -431,7 +431,8 @@ # def reset(self): self._fl_stack.remove_all_framelines() - self.handle_doc_root(self._doc, self._root) + self._dom.reset() + self._add_frameline_for_every_layer() pass ## \brief Mark given frame as a key frame.