diff --git a/convo.py b/convo.py index 02ba33d..3aa4daf 100644 --- a/convo.py +++ b/convo.py @@ -517,11 +517,11 @@ class PesterText(QtGui.QTextEdit): def contextMenuEvent(self, event): textMenu = self.createStandardContextMenu() - if self.textSelected: - self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self) - self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'), - self, QtCore.SLOT('submitLog()')) - textMenu.addAction(self.submitLogAction) + #if self.textSelected: + # self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self) + # self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'), + # self, QtCore.SLOT('submitLog()')) + # textMenu.addAction(self.submitLogAction) textMenu.exec_(event.globalPos()) def submitLogTitle(self): diff --git a/logviewer.py b/logviewer.py index 5eb5e2f..779781c 100644 --- a/logviewer.py +++ b/logviewer.py @@ -307,11 +307,11 @@ class PesterLogText(PesterText): def contextMenuEvent(self, event): textMenu = self.createStandardContextMenu() - if self.textSelected: - self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self) - self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'), - self, QtCore.SLOT('submitLog()')) - textMenu.addAction(self.submitLogAction) + #if self.textSelected: + # self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self) + # self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'), + # self, QtCore.SLOT('submitLog()')) + # textMenu.addAction(self.submitLogAction) a = textMenu.actions() a[0].setText("Copy Plain Text") a[0].setShortcut(self.tr("Ctrl+C"))