Skip to content
Permalink
Browse files

fixed #5721

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@271 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf
volayaf committed Jun 29, 2012
1 parent 66234c7 commit 90234430d37761c350fb7d1c19a8306fea3ffd9a
Showing with 5 additions and 2 deletions.
  1. +4 −1 src/sextante/modeler/ModelerGraphicItem.py
  2. +1 −1 src/sextante/modeler/ModelerParametersDialog.py
@@ -108,7 +108,10 @@ def paint(self, painter, option, widget=None):
painter.drawRect(rect)
font = QtGui.QFont("Verdana", 8)
painter.setFont(font)
painter.setPen(QtGui.QPen(QtCore.Qt.black))
if self.isSelected():
painter.setPen(QtGui.QPen(QtCore.Qt.blue))
else:
painter.setPen(QtGui.QPen(QtCore.Qt.black))
fm = QtGui.QFontMetricsF(font)
text = self.getAdjustedText(self.text)
w = fm.width(QtCore.QString(text))
@@ -387,7 +387,7 @@ def setPreviousValues(self):
if not out.hidden:
value = self.model.algOutputs[self.algIndex][out.name]
if value is not None:
widget = self.valueItems[out.name].setText(str(value))
widget = self.valueItems[out.name].setText(unicode(value))

#TODO

0 comments on commit 9023443

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