Skip to content
Permalink
Browse files

fix help opening

  • Loading branch information
alexbruy committed Jun 6, 2017
1 parent d859399 commit e89502f43d63c809586cae91f9057e256a086354
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/AlgorithmDialogBase.py
@@ -105,12 +105,12 @@ def __init__(self, alg):
self.splitterState = self.splitter.saveState()
self.splitterChanged(0, 0)

self.setWindowTitle(self.alg.displayName())

self.executed = False
self.mainWidget = None
self.alg = alg

self.setWindowTitle(self.alg.displayName())

# Rename OK button to Run
self.btnRun = self.buttonBox.button(QDialogButtonBox.Ok)
self.btnRun.setText(self.tr('Run'))
@@ -246,7 +246,7 @@ def splitterChanged(self, pos, index):

def openHelp(self):
algHelp = self.alg.helpUrl()
if algHelp is not None:
if algHelp not in [None, ""]:
webbrowser.open(algHelp)

def _saveGeometry(self):

0 comments on commit e89502f

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