Cooperation/ChatWidget.py

changeset 553
5af61623ae3c
parent 546
c3e7bf5648be
child 564
b3d966393ba9
equal deleted inserted replaced
551:e1074b63ff08 553:5af61623ae3c
545 if QFileInfo(fname).exists(): 545 if QFileInfo(fname).exists():
546 res = E5MessageBox.yesNo(self, 546 res = E5MessageBox.yesNo(self,
547 self.trUtf8("Save Chat"), 547 self.trUtf8("Save Chat"),
548 self.trUtf8("<p>The file <b>{0}</b> already exists." 548 self.trUtf8("<p>The file <b>{0}</b> already exists."
549 " Overwrite it?</p>").format(fname), 549 " Overwrite it?</p>").format(fname),
550 type_ = E5MessageBox.Warning) 550 icon = E5MessageBox.Warning)
551 if not res: 551 if not res:
552 return 552 return
553 fname = Utilities.toNativeSeparators(fname) 553 fname = Utilities.toNativeSeparators(fname)
554 554
555 try: 555 try:

eric ide

mercurial