def METHOD_NAME(
    self: QAbstractItemView, current: QModelIndex, previous: QModelIndex
):
    """The Qt current item has changed. Update the python model."""
    self._root.selection._current = current.data(ItemRole)
    return super().METHOD_NAME(current, previous)