Aug-04-2020, 01:05 PM
(This post was last modified: Aug-04-2020, 01:08 PM by deanhystad.)
Do exactly what you are doing for the second row. You may have to use some sort of flag to break the cycle.
def factor_changed(self): if not self.updating: self.updating = True self.modified_loss.setText(str(self.factor.value() * self.bat_loss)) self.updating = False def modified_loss_changed(self): if not self.updating: self.updating = True self.factor.setText(str(whatever)) self.updating = False