eric6/UI/DiffDialog.py

changeset 7264
bedbe458d792
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7263:c1af2e327675 7264:bedbe458d792
444 444
445 def __fileChanged(self): 445 def __fileChanged(self):
446 """ 446 """
447 Private slot to enable/disable the Compare button. 447 Private slot to enable/disable the Compare button.
448 """ 448 """
449 if not self.file1Picker.text() or \ 449 if (
450 not self.file2Picker.text(): 450 not self.file1Picker.text() or
451 not self.file2Picker.text()
452 ):
451 self.diffButton.setEnabled(False) 453 self.diffButton.setEnabled(False)
452 else: 454 else:
453 self.diffButton.setEnabled(True) 455 self.diffButton.setEnabled(True)
454 456
455 457

eric ide

mercurial