Ejemplo n.º 1
0
 def hide_callback(self, hide_time, thread):
     if thread:
         last_added = ThreadTracker.get_last_added(self.window_id)
         if thread != last_added:
             return
     if self.visible and self.hide_time and hide_time == self.hide_time:
         if not self.just_error:
             self.window.run_command('hide_panel')
         self.just_error = False
Ejemplo n.º 2
0
 def hide_callback(self, hide_time, thread):
     if thread:
         last_added = ThreadTracker.get_last_added(self.window_id)
         if thread != last_added:
             return
     if self.visible and self.hide_time and hide_time == self.hide_time:
         if not self.just_error:
             self.window.run_command('hide_panel')
         self.just_error = False