Skip to content

Commit

Permalink
[FIX] - Fix node count for line, polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jan 13, 2019
1 parent 75c2b30 commit c1fffac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/roam/maptools/maptools.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,7 @@ def is_safe(message):

@property
def node_count(self):
if self.editmode:
return self.band.numberOfVertices()
else:
return self.band.numberOfVertices() - 1
return self.band.numberOfVertices()

def canvasReleaseEvent(self, event):
if event.button() == Qt.RightButton:
Expand Down

0 comments on commit c1fffac

Please sign in to comment.