We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b58f61 commit 0c06827Copy full SHA for 0c06827
python/plugins/fTools/tools/doIntersectLines.py
@@ -51,8 +51,12 @@ def __init__(self, iface):
51
52
def populateLayers( self ):
53
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)
56
self.inLine1.clear()
57
self.inLine2.clear()
58
+ QObject.connect(self.inLine1, SIGNAL("currentIndexChanged(QString)"), self.update1)
59
+ QObject.connect(self.inLine2, SIGNAL("currentIndexChanged(QString)"), self.update2)
60
self.inLine1.addItems(layers)
61
self.inLine2.addItems(layers)
62
0 commit comments