Skip to content

Commit

Permalink
fix Intersect lines tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 14, 2012
1 parent 895792a commit 54b2cd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/fTools/tools/doIntersectLines.py
Expand Up @@ -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)

Expand Down

0 comments on commit 54b2cd2

Please sign in to comment.