Cooperation/ChatWidget.py

changeset 2250
810e9c7b61e3
parent 2223
054c285dab38
child 2285
a6fc5bda1de9
equal deleted inserted replaced
2249:8605100e3086 2250:810e9c7b61e3
502 self.__chatMenu.addSeparator() 502 self.__chatMenu.addSeparator()
503 self.__saveChatAct = \ 503 self.__saveChatAct = \
504 self.__chatMenu.addAction( 504 self.__chatMenu.addAction(
505 UI.PixmapCache.getIcon("fileSave.png"), 505 UI.PixmapCache.getIcon("fileSave.png"),
506 self.trUtf8("Save"), self.__saveChat) 506 self.trUtf8("Save"), self.__saveChat)
507
508 self.on_chatEdit_copyAvailable(False)
507 509
508 @pyqtSlot(bool) 510 @pyqtSlot(bool)
509 def on_chatEdit_copyAvailable(self, yes): 511 def on_chatEdit_copyAvailable(self, yes):
510 """ 512 """
511 Private slot to react to text selection/deselection of the chat edit. 513 Private slot to react to text selection/deselection of the chat edit.

eric ide

mercurial