comparison pyink/domview.py @ 1429:b867960fca02

Don't hide current timeline before switch to new component
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 10 Apr 2011 18:46:56 +0800
parents 43369f3314d8
children bf405cb2d7cb
comparison
equal deleted inserted replaced
1428:43369f3314d8 1429:b867960fca02
473 # for domview 473 # for domview
474 self._layers_parent = \ 474 self._layers_parent = \
475 self._get_layers_group_of_component(comp_name) 475 self._get_layers_group_of_component(comp_name)
476 476
477 first_name = comp.all_timeline_names()[0] 477 first_name = comp.all_timeline_names()[0]
478 self._cur_timeline = None
478 self.switch_timeline(first_name) 479 self.switch_timeline(first_name)
479 480
480 try: 481 try:
481 comp_grp = self.get_component_group(old_comp.name()) 482 comp_grp = self.get_component_group(old_comp.name())
482 old_comp_existed = True 483 old_comp_existed = True