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 |