Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py

changeset 4065
8e81259fb739
parent 4052
17d8069de085
child 4072
46fb585f60f2
equal deleted inserted replaced
4063:b7269498aa95 4065:8e81259fb739
267 locker.unlock() 267 locker.unlock()
268 os.chdir(cwd) 268 os.chdir(cwd)
269 self.__finish() 269 self.__finish()
270 270
271 if self.paras == 0: 271 if self.paras == 0:
272 self.contents.insertPlainText( 272 self.contents.setCurrentCharFormat(self.cNormalFormat)
273 self.contents.setPlainText(
273 self.tr('There is no difference.')) 274 self.tr('There is no difference.'))
274 return 275
275 276 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(self.paras > 0)
276 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(True)
277 277
278 def __appendText(self, line): 278 def __appendText(self, line):
279 """ 279 """
280 Private method to append text to the end of the contents pane. 280 Private method to append text to the end of the contents pane.
281 281

eric ide

mercurial