couple of todos, and fix the toolbox
[potlatch2.git] / net / systemeD / potlatch2 / controller / DrawWay.as
index bbcd7f657d0c7c9cd6cea94516525e721f1c17c6..0ff81f7356f1d980845906e83f5006dfdbab8762 100644 (file)
@@ -119,6 +119,7 @@ package net.systemeD.potlatch2.controller {
                        switch (event.keyCode) {
                                case 13:                                        return stopDrawing();
                                case 27:                                        return stopDrawing();
+                               case Keyboard.DELETE:           return backspaceNode(MainUndoStack.getGlobalStack().addAction);
                                case Keyboard.BACKSPACE:        return backspaceNode(MainUndoStack.getGlobalStack().addAction);
                                case 82:                                        repeatTags(selectedWay); return this;
                        }