mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +02:00
RESOLVED - bug 217999: [terminal] duplicate context menu entries
https://bugs.eclipse.org/bugs/show_bug.cgi?id=217999
This commit is contained in:
parent
d1c2024842
commit
d490114788
1 changed files with 1 additions and 2 deletions
|
@ -529,6 +529,7 @@ public class TerminalView extends ViewPart implements ITerminalView, ITerminalLi
|
|||
ctlText = fCtlTerminal.getControl();
|
||||
menuMgr = new MenuManager("#PopupMenu"); //$NON-NLS-1$
|
||||
menu = menuMgr.createContextMenu(ctlText);
|
||||
loadContextMenus(menuMgr);
|
||||
contextMenuHandler = new TerminalContextMenuHandler();
|
||||
|
||||
ctlText.setMenu(menu);
|
||||
|
@ -572,8 +573,6 @@ public class TerminalView extends ViewPart implements ITerminalView, ITerminalLi
|
|||
updateEditSelectAll();
|
||||
updateEditPaste();
|
||||
updateEditClearAll();
|
||||
|
||||
loadContextMenus(menuMgr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue