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. |