diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java index 0d1ee8a313..2d9792bea0 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java @@ -294,7 +294,7 @@ public class AdempiereWebUI extends Window implements EventListener, IWeb keyListener = new Keylistener(); keyListener.setPage(this.getPage()); - keyListener.setCtrlKeys("@a@c@d@e@f@h@l@m@n@o@p@r@s@t@w@x@z@#left@#right@#up@#down@#home@#end#enter^u@u@#pgdn@#pgup$#f2^#f2"); + keyListener.setCtrlKeys("@a@c@d@e@f@h@l@m@n@o@p@q@r@s@t@w@x@z@#left@#right@#up@#down@#home@#end#enter^u@u@#pgdn@#pgup$#f2^#f2"); keyListener.setAutoBlur(false); //create new desktop diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java index 3a26f64a2f..e2172f5db3 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/DetailPane.java @@ -419,7 +419,7 @@ public class DetailPane extends Panel implements EventListener, IdSpace { } } }); - button.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "QuickForm"))); + button.setTooltiptext(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "QuickForm")) + " Shift+Alt+Q"); buttons.put(BTN_QUICK_FORM_ID.substring(3, BTN_QUICK_FORM_ID.length()), button); // ADD Customize grid button @@ -1041,6 +1041,7 @@ public class DetailPane extends Panel implements EventListener, IdSpace { private static final int VK_S = 0x53; private static final int VK_D = 0x44; private static final int VK_O = 0x4F; + private static final int VK_Q = 0x51; private void onCtrlKeyEvent(KeyEvent keyEvent) { ToolBarButton btn = null; if (keyEvent.isAltKey() && !keyEvent.isCtrlKey() && keyEvent.isShiftKey()) { // Shift+Alt key @@ -1066,6 +1067,8 @@ public class DetailPane extends Panel implements EventListener, IdSpace { btn = getSelectedPanel().getToolbarButton(BTN_DELETE_ID); } else if (keyEvent.getKeyCode() == VK_O) { btn = getSelectedPanel().getToolbarButton(BTN_PROCESS_ID); + } else if (keyEvent.getKeyCode() == VK_Q) { + btn = getSelectedPanel().getToolbarButton(BTN_QUICK_FORM_ID); } } if (btn != null) {