def __on_list_type_select(self, text):
    if (text == 'Select List'):
        index = 0
    else:
        index = 1
    if (index != self.cur_list_type):
        if (index == 0):
            self.main_window.enable_filter_input(True)
        else:
            self.main_window.enable_filter_input(False)
        self.cur_list_type = index
    self.on_switch_btn(self.cur_list_type)
    if (self.cur_list_type == 0):
        pos = self.select_list_cur_pos
        self.main_window.update_tensor_list(list_type=self.cur_list_type, list=self.tensor_select_list, pos=pos, reset_pos=False)
    else:
        pos = self.watch_list_cur_pos
        self.main_window.update_tensor_list(list_type=self.cur_list_type, list=self.tensor_watch_list, pos=pos, reset_pos=False)
def __on_list_type_select(self, text):
    if (text == 'Select List'):
        index = 0
    else:
        index = 1
    if (index != self.cur_list_type):
        if (index == 0):
            self.main_window.enable_filter_input(True)
        else:
            self.main_window.enable_filter_input(False)
        self.cur_list_type = index
    self.on_switch_btn(self.cur_list_type)
    if (self.cur_list_type == 0):
        pos = self.select_list_cur_pos
        self.main_window.update_tensor_list(list_type=self.cur_list_type, list=self.tensor_select_list, pos=pos, reset_pos=False)
    else:
        pos = self.watch_list_cur_pos
        self.main_window.update_tensor_list(list_type=self.cur_list_type, list=self.tensor_watch_list, pos=pos, reset_pos=False)