Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py

branch
6_0_x
changeset 4066
3dc03cbd6fd8
parent 4022
f5f42921717e
equal deleted inserted replaced
4064:c918bd03f0ff 4066:3dc03cbd6fd8
265 locker.unlock() 265 locker.unlock()
266 os.chdir(cwd) 266 os.chdir(cwd)
267 self.__finish() 267 self.__finish()
268 268
269 if self.paras == 0: 269 if self.paras == 0:
270 self.contents.insertPlainText( 270 self.contents.setCurrentCharFormat(self.cNormalFormat)
271 self.contents.setPlainText(
271 self.tr('There is no difference.')) 272 self.tr('There is no difference.'))
272 return 273
273 274 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(self.paras > 0)
274 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(True)
275 275
276 def __appendText(self, line): 276 def __appendText(self, line):
277 """ 277 """
278 Private method to append text to the end of the contents pane. 278 Private method to append text to the end of the contents pane.
279 279

eric ide

mercurial