Translations:A2plus Workbench/147/it

def setMaxEdit(self): # assure that the minimum is samller than the maximum if self.MinEdit.value >= self.MaxEdit.value: self.MinEdit.setValue(self.MaxEdit.value - 1) self.slider.setRange(self.MinEdit.value, self.MaxEdit.value)