Skip to content
Permalink
Browse files
fix Intersect lines tool
  • Loading branch information
alexbruy committed Feb 14, 2012
1 parent 895792a commit 54b2cd2c52af38219a02fa0cad3e66651544a002
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/fTools/tools/doIntersectLines.py
@@ -51,8 +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.clear()
self.inLine2.clear()
QObject.connect(self.inLine1, SIGNAL("currentIndexChanged(QString)"), self.update1)
QObject.connect(self.inLine2, SIGNAL("currentIndexChanged(QString)"), self.update2)
self.inLine1.addItems(layers)
self.inLine2.addItems(layers)

0 comments on commit 54b2cd2

Please sign in to comment.