Skip to content
Permalink
Browse files
better fix for #5010
  • Loading branch information
alexbruy committed Feb 19, 2012
1 parent e72a714 commit 060097bc400e497342ec46527b67f8758c8b318e
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 060097b

Please sign in to comment.