'Reimplemented from :func:`ToolTree.setRootIndex`'

def setRootIndex(self, index):

    proxyModel = self.view().model()
    mappedIndex = proxyModel.mapFromSource(index)
    ToolTree.setRootIndex(self, mappedIndex)
    self.__invalidateSizeHint()
