Cooperation/ChatWidget.py

changeset 564
b3d966393ba9
parent 553
5af61623ae3c
child 791
9ec2ac20e54e
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
527 """ 527 """
528 Private slot to save the contents of the chat display. 528 Private slot to save the contents of the chat display.
529 """ 529 """
530 txt = self.chatEdit.toPlainText() 530 txt = self.chatEdit.toPlainText()
531 if txt: 531 if txt:
532 fname, selectedFilter = QFileDialog.getSaveFileNameAndFilter(\ 532 fname, selectedFilter = QFileDialog.getSaveFileNameAndFilter(
533 self, 533 self,
534 self.trUtf8("Save Chat"), 534 self.trUtf8("Save Chat"),
535 "", 535 "",
536 self.trUtf8("Text Files (*.txt);;All Files (*)"), 536 self.trUtf8("Text Files (*.txt);;All Files (*)"),
537 None, 537 None,

eric ide

mercurial