eric7/UI/CompareDialog.py

branch
eric7
changeset 8327
666c2b81cbb7
parent 8318
962bce857696
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8325:547319e56c60 8327:666c2b81cbb7
99 self.setupUi(self) 99 self.setupUi(self)
100 100
101 if files is None: 101 if files is None:
102 files = [] 102 files = []
103 103
104 self.file1Picker.setMode(E5PathPickerModes.OpenFileMode) 104 self.file1Picker.setMode(E5PathPickerModes.OPEN_FILE_MODE)
105 self.file2Picker.setMode(E5PathPickerModes.OpenFileMode) 105 self.file2Picker.setMode(E5PathPickerModes.OPEN_FILE_MODE)
106 106
107 self.diffButton = self.buttonBox.addButton( 107 self.diffButton = self.buttonBox.addButton(
108 self.tr("Compare"), QDialogButtonBox.ButtonRole.ActionRole) 108 self.tr("Compare"), QDialogButtonBox.ButtonRole.ActionRole)
109 self.diffButton.setToolTip( 109 self.diffButton.setToolTip(
110 self.tr("Press to perform the comparison of the two files")) 110 self.tr("Press to perform the comparison of the two files"))

eric ide

mercurial