Skip to content

Commit 0c06827

Browse files
committed
fix Intersect lines tool
1 parent 1b58f61 commit 0c06827

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/plugins/fTools/tools/doIntersectLines.py

+4
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ def __init__(self, iface):
5151

5252
def populateLayers( self ):
5353
layers = ftools_utils.getLayerNames([QGis.Line])
54+
QObject.disconnect(self.inLine1, SIGNAL("currentIndexChanged(QString)"), self.update1)
55+
QObject.disconnect(self.inLine2, SIGNAL("currentIndexChanged(QString)"), self.update2)
5456
self.inLine1.clear()
5557
self.inLine2.clear()
58+
QObject.connect(self.inLine1, SIGNAL("currentIndexChanged(QString)"), self.update1)
59+
QObject.connect(self.inLine2, SIGNAL("currentIndexChanged(QString)"), self.update2)
5660
self.inLine1.addItems(layers)
5761
self.inLine2.addItems(layers)
5862

0 commit comments

Comments
 (0)