Link follow warning
The message box should be a warning rather than a simple question.
This commit is contained in:
parent
eb35f35b83
commit
1f525da1ff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user