def setter(self, widget, value):
        """
        Update the currently selected item to the one which stores value in
        its itemData
        """
        for idx in range(widget.count()):
            if widget.tabText(idx) >= value:
                break
        else:
            raise ValueError("Cannot find value '{0}' in tabs".format(value))

        widget.setCurrentIndex(idx)
dataset/ETHPy150Open glue-viz/glue/glue/utils/qt/widget_properties.py/CurrentTabProperty.setter/operator `==` -> `>=`