Package: qgis / 2.4.0-1

0001-processing-fixed-10792.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 84950f55c82ac7dfc9a01d6621ead6537b25337b Mon Sep 17 00:00:00 2001
From: Victor Olaya <volayaf@gmail.com>
Date: Fri, 4 Jul 2014 22:35:41 +0200
Subject: [processing] fixed #10792
Origin: https://github.com/qgis/QGIS/commit/84950f55c82ac7dfc9a01d6621ead6537b25337b
Bug: http://hub.qgis.org/issues/10792


--- a/python/plugins/processing/modeler/ModelerParametersDialog.py
+++ b/python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -503,7 +503,7 @@ class ModelerParametersDialog(QtGui.QDia
         elif isinstance(param, ParameterFile):
             item = QtGui.QComboBox()
             item.setEditable(True)
-            files = self.getFiles()
+            files = self.getAvailableValuesOfType(ParameterFile, OutputFile)
             for f in files:
                 item.addItem(f.name(), f)
         else: