Cooperation/ChatWidget.py

branch
5_3_x
changeset 2437
478409839f62
parent 2302
f29e9405c851
child 3163
9f50365a0870
--- a/Cooperation/ChatWidget.py	Tue Feb 26 19:33:22 2013 +0100
+++ b/Cooperation/ChatWidget.py	Thu Feb 28 16:59:30 2013 +0100
@@ -477,10 +477,6 @@
         Private slot to initialize the chat edit context menu.
         """
         self.__chatMenu = QMenu(self)
-        self.__cutChatAct = \
-            self.__chatMenu.addAction(
-                UI.PixmapCache.getIcon("editCut.png"),
-                self.trUtf8("Cut"), self.__cutChat)
         self.__copyChatAct = \
             self.__chatMenu.addAction(
                 UI.PixmapCache.getIcon("editCopy.png"),
@@ -515,7 +511,6 @@
         @param yes flag signaling the availability of selected text (boolean)
         """
         self.__copyChatAct.setEnabled(yes)
-        self.__cutChatAct.setEnabled(yes)
     
     @pyqtSlot(QPoint)
     def on_chatEdit_customContextMenuRequested(self, pos):
@@ -582,12 +577,6 @@
         """
         self.chatEdit.copy()
     
-    def __cutChat(self):
-        """
-        Private slot to cut the contents of the chat display to the clipboard.
-        """
-        self.chatEdit.cut()
-    
     def __copyAllChat(self):
         """
         Private slot to copy the contents of the chat display to the clipboard.

eric ide

mercurial