Skip to content
Permalink
Browse files
fix Intersect lines tool
  • Loading branch information
alexbruy committed Feb 14, 2012
1 parent 1b58f61 commit 0c0682750a95643f7aa218a42e30418e24709044
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 0c06827

Please sign in to comment.