Skip to content
Permalink
Browse files

Use a filter line edit for outputs

  • Loading branch information
nyalldawson committed Jul 8, 2017
1 parent 0836c60 commit 3665e462c8c69ea9b4012043f1d858537c548ab7
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -44,7 +44,8 @@
QgsProcessingOutputDefinition)

from qgis.gui import (QgsMessageBar,
QgsScrollArea)
QgsScrollArea,
QgsFilterLineEdit)

from processing.gui.wrappers import WidgetWrapperFactory
from processing.gui.wrappers import InvalidParameterValue
@@ -153,7 +154,7 @@ def setupUi(self):
if isinstance(dest, (QgsProcessingParameterRasterDestination, QgsProcessingParameterFeatureSink,
QgsProcessingParameterFileDestination, QgsProcessingParameterFolderDestination)):
label = QLabel(dest.description())
item = QLineEdit()
item = QgsFilterLineEdit()
if hasattr(item, 'setPlaceholderText'):
item.setPlaceholderText(ModelerParametersDialog.ENTER_NAME)
self.verticalLayout.addWidget(label)

0 comments on commit 3665e46

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