mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
fix help opening
This commit is contained in:
parent
d859399ce5
commit
e89502f43d
@ -105,12 +105,12 @@ class AlgorithmDialogBase(BASE, WIDGET):
|
||||
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 @@ class AlgorithmDialogBase(BASE, WIDGET):
|
||||
|
||||
def openHelp(self):
|
||||
algHelp = self.alg.helpUrl()
|
||||
if algHelp is not None:
|
||||
if algHelp not in [None, ""]:
|
||||
webbrowser.open(algHelp)
|
||||
|
||||
def _saveGeometry(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user