Skip to content
Browse files

More .model -> .model3 updates

  • Loading branch information
nyalldawson committed Jun 24, 2017
1 parent 5e7fbf4 commit ab9470dada969f440cc041e8017e0f2e04eb1aef
@@ -54,7 +54,7 @@ def execute(self):
lastDir = settings.value('Processing/lastModelsDir', '')
filename, selected_filter = QFileDialog.getOpenFileName(self.toolbox,'Open model', 'AddModelFromFileAction'), lastDir,'Processing model files (*.model *.MODEL)', 'AddModelFromFileAction'))'Processing model files (*.model3 *.MODEL3)', 'AddModelFromFileAction'))
if filename:
@@ -472,7 +472,7 @@ def openModel(self):
filename, selected_filter = QFileDialog.getOpenFileName(self,'Open Model'),
ModelerUtils.modelsFolders()[0],'Processing models (*.model *.MODEL)'))'Processing models (*.model3 *.MODEL3)'))
if filename:
alg = ModelerAlgorithm()
if alg.fromFile(filename):

0 comments on commit ab9470d

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