Commented out "Submit to Pesterchum QDB".

This commit is contained in:
BuildTools 2021-02-22 18:36:13 +01:00
parent b148b8cddf
commit 6be0487b6c
2 changed files with 10 additions and 10 deletions

View file

@ -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):

View file

@ -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"))