def reload_tree_store_data(self):
        """ Reloads the data of the tree store

        :return:
        """
        model, paths = self.tree_view.get_selection().get_selected_rows()

        self.tree_store.clear()
        self.add_items_to_tree_iter(self.model.state.semantic_data, None)
        self.tree_view.expand_all()

        try:
            for path in paths:
                self.tree_view.get_selection().select_path(path)
        except ValueError:
            pass
def reload_tree_store_data ( self ) : model , paths = self . tree_view . get_selection ( ) . get_selected_rows ( ) self . tree_store . clear ( ) self . add_items_to_tree_iter ( self . model . state . semantic_data , None ) self . tree_view . expand_all ( ) try : for path in paths : self . tree_view . get_selection ( ) . select_path ( path ) except ValueError : pass
Reloads the data of the tree store

        :return: