From ce388e77c6f35dea4a9358a47b1220fb94119792 Mon Sep 17 00:00:00 2001 From: nitorteam Date: Thu, 18 Oct 2012 18:48:28 +0530 Subject: [PATCH] Added Shortcut key to New Task/Resource --- .../src/com/projity/pm/graphic/frames/GraphicManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openproj_ui/src/com/projity/pm/graphic/frames/GraphicManager.java b/openproj_ui/src/com/projity/pm/graphic/frames/GraphicManager.java index fe1e297..8d36321 100644 --- a/openproj_ui/src/com/projity/pm/graphic/frames/GraphicManager.java +++ b/openproj_ui/src/com/projity/pm/graphic/frames/GraphicManager.java @@ -2593,7 +2593,9 @@ protected boolean loadLocalDocument(String fileName,boolean merge){ //uses serve addCtrlAccel(KeyEvent.VK_N, ACTION_NEW_PROJECT, null); addCtrlAccel(KeyEvent.VK_O, ACTION_OPEN_PROJECT, null); addCtrlAccel(KeyEvent.VK_S, ACTION_SAVE_PROJECT, null); - addCtrlAccel(KeyEvent.VK_P, ACTION_PRINT, null); + addCtrlAccel(KeyEvent.VK_K, ACTION_PRINT, null); + addCtrlAccel(KeyEvent.VK_K, ACTION_INSERT_TASK, null); + addCtrlAccel(KeyEvent.VK_P, ACTION_INSERT_RESOURCE, null); addCtrlAccel(KeyEvent.VK_I, ACTION_INSERT_TASK, null); addCtrlAccel(KeyEvent.VK_PERIOD, ACTION_INDENT, null); addCtrlAccel(KeyEvent.VK_COMMA, ACTION_OUTDENT, null);