Skip to content

Commit

Permalink
[processing] fixed issue when opening link from MissingDependencyDial…
Browse files Browse the repository at this point in the history
…og.py
  • Loading branch information
volaya committed Aug 30, 2013
1 parent 51b6b53 commit 1433f3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/gui/MissingDependencyDialog.py
Expand Up @@ -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()
Expand All @@ -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.