Modify

Opened 13 years ago

Closed 12 years ago

#6730 closed enhancement (fixed)

[PATCH] Shortcut for deleting the last node in draw mode

Reported by: Cobra Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Especially when tracing from aerial imagery it happens sometimes that a node is placed where you do not want to have one. Instead of switching to select/delete or undoing and switching back to draw mode (and selecting the now last node) this could be done very fast by a shortcut. I propose backspace for this.

Attachments (1)

backspace.patch (3.1 KB ) - added by akks 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by stoecker, 13 years ago

Owner: changed from team to Cobra
Status: newneedinfo

Why don't you simply use "undo" functionality?

comment:2 by Cobra, 13 years ago

Owner: changed from Cobra to team
Status: needinfonew

I mentioned undo - this interrupts the drawing as well. One click is too much work!!111! ;)

Alternative: don't lose the dangling segment when undoing.

comment:3 by xeen, 13 years ago

I can see the advantage of this, however backspace would only ever be useful in the very narrow case described above. What about instead undo not stopping the current draw action (=helper line visible) if possible. Undo/redo would never go into a draw action state if it was not active before. This would require tracking the last point of reference as well, though.

comment:4 by skyper, 13 years ago

The follow line action has the undo action implemented that way (not working, yet -> #6367).

comment:5 by akks, 12 years ago

I tried to add Backspace shortcut to Add mode. It undos last action and then selects last modified node.

Here is the patch...

by akks, 12 years ago

Attachment: backspace.patch added

comment:6 by akks, 12 years ago

Summary: Shortcut for deleting the last node in draw mode[PATCH] Shortcut for deleting the last node in draw mode

comment:7 by stoecker, 12 years ago

Resolution: fixed
Status: newclosed

In [4611/josm]:

fix #6730 - patch by akks - add backspace in draw mode to undo last draw action

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.