Opened 11 years ago

Closed 10 years ago

#286 closed defect (fixed)

vdigit: changing a tool should cancel current edits

Reported by: msieczka Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc: grass-dev@…
CPU: All Platform: All

Description

r33285

  1. add a vertex on a boundary
  1. don't confirm with the right key, but select the "Move vertex" tool
  1. try to drag the vertex you added - failure:
Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1025, in MouseActions

self.OnLeftUp(event)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 1400, in OnLeftUp

self.moveCoords = (self.moveCoords[0] + dx,
IndexError
:
list index out of range

Selecting a different tool without committing the edit first (like in the case above), should automatically cancel the uncommited edits edits.

Change History (2)

comment:1 Changed 11 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Fixed in r36423 (relbr64) r36424 (devbr6) and r36425 (trunk).

comment:2 Changed 10 years ago by martinl

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.