Mercurial > MadButterfly
changeset 1320:6090be010927
Fix issue of selecting frames
- User can not switching frames any more after user switching
component.
- It is caused by frameline_stack.remove_all_framelines() which reset
active frame callback.
- It is fixed by stoping it.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 22 Jan 2011 23:32:21 +0800 |
parents | ab21c148b3c6 |
children | 6a014a4ec79e |
files | pyink/domview_ui.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pyink/domview_ui.py Sat Jan 22 22:09:43 2011 +0800 +++ b/pyink/domview_ui.py Sat Jan 22 23:32:21 2011 +0800 @@ -118,6 +118,8 @@ pass pass + ## \brief Remove all framelines from the stack. + # def remove_all_framelines(self): num = len(self._framelines) @@ -130,7 +132,6 @@ self._framelines = [] self._last_mouse_over_frameline = None self._last_active_frameline = None - self._active_frame_callback = None pass def init_framelines(self):