don't break when you ctrl-click the background
[potlatch2.git] / net / systemeD / potlatch2 / controller / DrawWay.as
index f88b968259d39a9b3562a7fddf59bb50245358d3..5aaed85ad6a535b588ccdae68bd1b6e935062b33 100644 (file)
@@ -161,6 +161,7 @@ package net.systemeD.potlatch2.controller {
                                case 27:                                        return keyExitDrawing();
                                case Keyboard.DELETE:           return backspaceNode(MainUndoStack.getGlobalStack().addAction);
                                case Keyboard.BACKSPACE:        return backspaceNode(MainUndoStack.getGlobalStack().addAction);
+                               case 189:                                       return backspaceNode(MainUndoStack.getGlobalStack().addAction);
                                case 82:                                        repeatTags(firstSelected); return this;
                        }
                        var cs:ControllerState = sharedKeyboardEvents(event);