changeset 1272:32a73093a3de

Remove unused code - Since frameline is not removed from hbox in _remove_all_framelines(), it is also useless for _remove_frameline().
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 12 Jan 2011 21:12:14 +0800
parents 0daf68f3c1f9
children 1d0474f2f6fa
files pyink/domview_ui.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/domview_ui.py	Wed Jan 12 21:09:05 2011 +0800
+++ b/pyink/domview_ui.py	Wed Jan 12 21:12:14 2011 +0800
@@ -110,7 +110,6 @@
 	
 	hbox = line.parent
 	vbox.remove(hbox)
-	hbox.remove(line)
 	del self._framelines[layer_idx]
 	
 	for idx in range(layer_idx, len(self._framelines)):
@@ -131,7 +130,6 @@
 	self._last_mouse_over_frameline = None
 	self._last_active_frameline = None
 	self._active_frame_callback = None
-
 	pass
 
     def _init_framelines(self):