Skip to content

Commit

Permalink
[sextante] allow to run models with no parameters (partially reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Apr 11, 2013
1 parent 89c17e3 commit d62f0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/sextante/modeler/ModelerDialog.py
Expand Up @@ -126,7 +126,7 @@ def editHelp(self):

def runModel(self):
##TODO: enable alg cloning without saving to file
if (len(self.alg.algs) == 0) or (len(self.algParameters) == 0):
if len(self.alg.algs) == 0:
QMessageBox.warning(self,
self.tr("Empty model"),
self.tr("Model doesn't contains any algorithms and/or parameters and can't be executed")
Expand Down

0 comments on commit d62f0a3

Please sign in to comment.