Link follow warning

The message box should be a warning rather than a simple question.
This commit is contained in:
mailchuck 2015-12-15 11:11:57 +01:00 committed by Peter Surda
parent eb35f35b83
commit 1f525da1ff
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class MessageView(QtGui.QTextBrowser):
super(MessageView, self).mousePressEvent(event)
def confirmURL(self, link):
reply = QtGui.QMessageBox.question(self,
reply = QtGui.QMessageBox.warning(self,
QtGui.QApplication.translate(type(self).__name__, MessageView.CONFIRM_TITLE),
QtGui.QApplication.translate(type(self).__name__, MessageView.CONFIRM_TEXT).arg(str(link.toString())),
QtGui.QMessageBox.Yes, QtGui.QMessageBox.No)