Change from Y to Shift-Z for "redo". Y was already assigned to Simplify. Whoops.
authorSteve Bennett <stevagewp@gmail.com>
Wed, 2 Mar 2011 10:00:46 +0000 (10:00 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 9 Mar 2011 10:42:11 +0000 (10:42 +0000)
net/systemeD/potlatch2/controller/ControllerState.as

index 86bdf36..94e60aa 100644 (file)
@@ -67,8 +67,8 @@ package net.systemeD.potlatch2.controller {
                                case 68:        controller.map.paint.alpha=1.3-controller.map.paint.alpha; return null; // D - dim
                                case 83:        SaveManager.saveChanges(); break;                                                                               // S - save
                                case 84:        controller.tagViewer.togglePanel(); return null;                                                // T - toggle tags panel
-                               case 90:        MainUndoStack.getGlobalStack().undo(); return null;                                             // Z - undo
-                case 89:    MainUndoStack.getGlobalStack().redo(); return null;                     // Y - redo
+                               case 90:        if (!event.shiftKey) { MainUndoStack.getGlobalStack().undo(); return null;}// Z - undo
+                                           else { MainUndoStack.getGlobalStack().redo(); return null;  }           // Shift-Z - redo                                           
                                case Keyboard.ESCAPE:   revertSelection(); break;                                                                       // ESC - revert to server version
                                case Keyboard.NUMPAD_ADD:                                                                                                                       // + - add tag
                                case 187:       controller.tagViewer.selectAdvancedPanel();                                                             //   |