def METHOD_NAME(self, text):
    """
    Set image type depending of user choice
    """
    if "l2" in text:
        self.uiTypeComboBox.setCurrentIndex(0)  # L2 image
    elif "l3" in text:
        self.uiTypeComboBox.setCurrentIndex(1)  # L3 image