Skip to content
Permalink
Browse files

update field list on each layer list update (fix #5655)

  • Loading branch information
alexbruy committed May 28, 2012
1 parent a45e5b1 commit 369b32e5e578eb8335563f707642df5c1b33fc1c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/fTools/tools/doMeanCoords.py
@@ -50,10 +50,10 @@ def __init__(self, iface, function):

def populateLayers( self ):
layers = ftools_utils.getLayerNames([QGis.Point, QGis.Line, QGis.Polygon])
QObject.disconnect(self.inShape, SIGNAL("currentIndexChanged(QString)"), self.update)
self.inShape.blockSignals(True)
self.inShape.clear()
self.inShape.blockSignals(False)
self.inShape.addItems(layers)
QObject.connect(self.inShape, SIGNAL("currentIndexChanged(QString)"), self.update)

def updateUi(self):
if self.function == 1:

0 comments on commit 369b32e

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