Skip to content
Permalink
Browse files

[processing]minor code cleaning

Conflicts:
	python/plugins/processing/core/parameters.py
  • Loading branch information
volaya committed Oct 5, 2016
1 parent e6f9499 commit ae0e9c8442e864742dcf2e39e1b10de69afe7e49
Showing with 3 additions and 6 deletions.
  1. +3 −6 python/plugins/processing/gui/ParametersPanel.py
@@ -37,7 +37,7 @@

from qgis.PyQt import uic
from qgis.PyQt.QtCore import QCoreApplication, QVariant
from qgis.PyQt.QtWidgets import (QWidget, QLayout, QVBoxLayout, QHBoxLayout, QToolButton,
from qgis.PyQt.QtWidgets import (QWidget, QLayout, QVBoxLayout, QHBoxLayout, QToolButton,
QLabel, QCheckBox, QComboBox, QLineEdit, QPlainTextEdit)
from qgis.PyQt.QtGui import QIcon

@@ -97,11 +97,8 @@ def initWidgets(self):
desc += self.tr(' (xmin, xmax, ymin, ymax)')
if isinstance(param, ParameterPoint):
desc += self.tr(' (x, y)')
try:
if param.optional:
desc += self.tr(' [optional]')
except:
pass
if param.optional:
desc += self.tr(' [optional]')

wrapper = self.getWidgetWrapperFromParameter(param)
self.wrappers[param.name] = wrapper

0 comments on commit ae0e9c8

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