Commented out "Submit to Pesterchum QDB".
This commit is contained in:
parent
b148b8cddf
commit
6be0487b6c
2 changed files with 10 additions and 10 deletions
10
convo.py
10
convo.py
|
@ -517,11 +517,11 @@ class PesterText(QtGui.QTextEdit):
|
||||||
|
|
||||||
def contextMenuEvent(self, event):
|
def contextMenuEvent(self, event):
|
||||||
textMenu = self.createStandardContextMenu()
|
textMenu = self.createStandardContextMenu()
|
||||||
if self.textSelected:
|
#if self.textSelected:
|
||||||
self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self)
|
# self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self)
|
||||||
self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'),
|
# self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'),
|
||||||
self, QtCore.SLOT('submitLog()'))
|
# self, QtCore.SLOT('submitLog()'))
|
||||||
textMenu.addAction(self.submitLogAction)
|
# textMenu.addAction(self.submitLogAction)
|
||||||
textMenu.exec_(event.globalPos())
|
textMenu.exec_(event.globalPos())
|
||||||
|
|
||||||
def submitLogTitle(self):
|
def submitLogTitle(self):
|
||||||
|
|
10
logviewer.py
10
logviewer.py
|
@ -307,11 +307,11 @@ class PesterLogText(PesterText):
|
||||||
|
|
||||||
def contextMenuEvent(self, event):
|
def contextMenuEvent(self, event):
|
||||||
textMenu = self.createStandardContextMenu()
|
textMenu = self.createStandardContextMenu()
|
||||||
if self.textSelected:
|
#if self.textSelected:
|
||||||
self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self)
|
# self.submitLogAction = QtGui.QAction("Submit to Pesterchum QDB", self)
|
||||||
self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'),
|
# self.connect(self.submitLogAction, QtCore.SIGNAL('triggered()'),
|
||||||
self, QtCore.SLOT('submitLog()'))
|
# self, QtCore.SLOT('submitLog()'))
|
||||||
textMenu.addAction(self.submitLogAction)
|
# textMenu.addAction(self.submitLogAction)
|
||||||
a = textMenu.actions()
|
a = textMenu.actions()
|
||||||
a[0].setText("Copy Plain Text")
|
a[0].setText("Copy Plain Text")
|
||||||
a[0].setShortcut(self.tr("Ctrl+C"))
|
a[0].setShortcut(self.tr("Ctrl+C"))
|
||||||
|
|
Loading…
Reference in a new issue