Added Shortcut key to New Task/Resource

This commit is contained in:
nitorteam 2012-10-18 18:48:28 +05:30
parent eb4a60ef34
commit ce388e77c6

View file

@ -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);