code: def repoTreeItemChanged(self, rti):
          
          logger.debug("onItemChanged: {}".format(rti))
          currentItem, _currentIndex = self.getCurrentItem()
  
          if rti == currentItem:
              self.currentRepoTreeItemChanged()
          else:
              logger.debug("Ignoring changed item as is not the current item: {}".format(rti))
docs: Called when repo tree item has changed (the item itself, not a new selection)
  
              If the item is the currently selected item, the the collector (inspector) and
              metadata widgets are updated.