Cooperation/ChatWidget.py

branch
5_2_x
changeset 2251
3d9fce89b12b
parent 1509
c0b5e693b0eb
child 2287
886b1fd60739
equal deleted inserted replaced
2226:3a36d6879287 2251:3d9fce89b12b
492 self.__chatMenu.addSeparator() 492 self.__chatMenu.addSeparator()
493 self.__saveChatAct = \ 493 self.__saveChatAct = \
494 self.__chatMenu.addAction( 494 self.__chatMenu.addAction(
495 UI.PixmapCache.getIcon("fileSave.png"), 495 UI.PixmapCache.getIcon("fileSave.png"),
496 self.trUtf8("Save"), self.__saveChat) 496 self.trUtf8("Save"), self.__saveChat)
497
498 self.on_chatEdit_copyAvailable(False)
497 499
498 @pyqtSlot(bool) 500 @pyqtSlot(bool)
499 def on_chatEdit_copyAvailable(self, yes): 501 def on_chatEdit_copyAvailable(self, yes):
500 """ 502 """
501 Private slot to react to text selection/deselection of the chat edit. 503 Private slot to react to text selection/deselection of the chat edit.

eric ide

mercurial