Skip to content
Permalink
Browse files
better fix for #5010
  • Loading branch information
alexbruy committed Feb 15, 2012
1 parent 849a561 commit 0a2d75f41d0eac736b4f7726f183c47927867244
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/fTools/tools/doIntersectLines.py
@@ -51,12 +51,12 @@ def __init__(self, iface):

def populateLayers( self ):
layers = ftools_utils.getLayerNames([QGis.Line])
QObject.disconnect(self.inLine1, SIGNAL("currentIndexChanged(QString)"), self.update1)
QObject.disconnect(self.inLine2, SIGNAL("currentIndexChanged(QString)"), self.update2)
self.inLine1.blockSignals( True )
self.inLine2.blockSignals( True )
self.inLine1.clear()
self.inLine2.clear()
QObject.connect(self.inLine1, SIGNAL("currentIndexChanged(QString)"), self.update1)
QObject.connect(self.inLine2, SIGNAL("currentIndexChanged(QString)"), self.update2)
self.inLine1.blockSignals( False )
self.inLine2.blockSignals( False )
self.inLine1.addItems(layers)
self.inLine2.addItems(layers)

0 comments on commit 0a2d75f

Please sign in to comment.