Skip to content
Permalink
Browse files

[processing] fixed issue when opening link from MissingDependencyDial…

…og.py
  • Loading branch information
volaya committed Aug 30, 2013
1 parent 51b6b53 commit 1433f3ce44980d506d9435cee5d24bd3d06cd18e
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/gui/MissingDependencyDialog.py
@@ -39,6 +39,7 @@ def setupUi(self):
self.setWindowTitle("Missing dependency")
layout = QVBoxLayout()
browser = QtGui.QTextBrowser()
browser.setOpenLinks(False)
browser.anchorClicked.connect(self.linkClicked)
browser.setHtml(self.msg)
button = QPushButton()
@@ -53,7 +54,7 @@ def setupUi(self):
QtCore.QMetaObject.connectSlotsByName(self)

def linkClicked(self, url):
webbrowser.open(str(url))
webbrowser.open(url.toString())

def closeButtonPressed(self):
self.close()

0 comments on commit 1433f3c

Please sign in to comment.
You can’t perform that action at this time.