mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
[188801] no need to explicitly handle delete key in team view since the retargetable action already handles it
This commit is contained in:
parent
daf3260c40
commit
87f576d824
1 changed files with 6 additions and 1 deletions
|
@ -430,6 +430,9 @@ public class SystemTeamViewPart
|
|||
{
|
||||
//System.out.println("in handleKeyPressed. keyCode == SWT.F5? " + (event.keyCode==SWT.F5) + ", keyCode: "+event.keyCode);
|
||||
IStructuredSelection selection = (IStructuredSelection)getSelection();
|
||||
/*
|
||||
* DKM - taking this out since the delete key should be handled by the retargetable action
|
||||
*
|
||||
if ((event.character == SWT.DEL) && (event.stateMask == 0) && (selection.size()>0) )
|
||||
{
|
||||
if (showDelete() && canDelete())
|
||||
|
@ -441,7 +444,9 @@ public class SystemTeamViewPart
|
|||
dltAction.run();
|
||||
}
|
||||
}
|
||||
else if ((event.character == '-') && (event.stateMask == SWT.CTRL) )
|
||||
else
|
||||
*/
|
||||
if ((event.character == '-') && (event.stateMask == SWT.CTRL) )
|
||||
{
|
||||
SystemCollapseAllAction collapseAllAction = getCollapseAllAction();
|
||||
collapseAllAction.setShell(getShell());
|
||||
|
|
Loading…
Add table
Reference in a new issue