Translations:A2plus Workbench/146/ru

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