i = unit_data.UNIT_CATEGORIES.index(categoryName)
rootIndex = self._categoryView.rootIndex()
currentIndex = self._categoryView.model().index(i, 0, rootIndex)
self._categoryView.scrollTo(currentIndex)
i = unit_data.UNIT_CATEGORIES.index(categoryName)
rootIndex = self._categoryView.rootIndex()
currentIndex = self._categoryView.model().index(i, 0, rootIndex)
self._categoryView.scrollTo(currentIndex)