Skip to content
Permalink
Browse files

fixed #5987

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@298 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com
volayaf@gmail.com committed Jul 11, 2012
1 parent 53a48ec commit ea2b7faf601d19f921df7a2e86ac3a1eb8b38f94
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/sextante/modeler/ModelerGraphicItem.py
@@ -67,6 +67,10 @@ def editElement(self):
dlg.exec_()
if dlg.param != None:
self.model.updateParameter(self.elementIndex, dlg.param)
self.element = dlg.param
self.text = self.element.description
self.update()

else:
dlg = self.element.getCustomModelerParametersDialog(self.model, self.elementIndex)
if not dlg:
@@ -101,6 +105,7 @@ def getAdjustedText(self, text):


def paint(self, painter, option, widget=None):

rect = QtCore.QRectF(-(ModelerGraphicItem.BOX_WIDTH + 2)/2, -(ModelerGraphicItem.BOX_HEIGHT + 2)/2,
ModelerGraphicItem.BOX_WIDTH + 2, ModelerGraphicItem.BOX_HEIGHT + 2)
painter.setPen(QtGui.QPen(QtCore.Qt.gray, 1))

0 comments on commit ea2b7fa

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