Open fire-eggs opened 5 months ago
In Main.py, lines 250-289, the code fails to use the toggle() method. In other words, eight instances of code similar to this:
toggle()
if self.checkBox_Led1.isChecked() == True: self.checkBox_Led1.setChecked(False) else: self.checkBox_Led1.setChecked(True)
can be replaced by corresponding simplified code:
self.checkBox_Led1.toggle()
In Main.py, lines 250-289, the code fails to use the
toggle()
method. In other words, eight instances of code similar to this:can be replaced by corresponding simplified code: