# HG changeset patch # User Thinker K.F. Li # Date 1297579204 -28800 # Node ID f1fa284fc9c9bab778427687e479f0ab0c8fdb9e # Parent f92be354ad2436adde545f8f4502051e7ad13928 Fix error bug for showing mouse over on frameline after removing a layer diff -r f92be354ad24 -r f1fa284fc9c9 pyink/domview_ui.py --- a/pyink/domview_ui.py Sun Feb 13 13:12:10 2011 +0800 +++ b/pyink/domview_ui.py Sun Feb 13 14:40:04 2011 +0800 @@ -109,6 +109,13 @@ vbox = self._frameline_vbox line = self._framelines[layer_idx] + if self._last_active_frameline == line: + self._last_active_frameline = None + pass + if self._last_mouse_over_frameline == line: + self._last_mouse_over_frameline = None + pass + hbox = line.parent vbox.remove(hbox) del self._framelines[layer_idx]