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