mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
fixed bug 168183: [terminal] Exception logged when switching to terminal view for the first time
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168183 The contexd ID defined in the plugin.xml was not used in the terminal
This commit is contained in:
parent
01879102bf
commit
f7230852a2
1 changed files with 2 additions and 1 deletions
|
@ -345,7 +345,8 @@ public class TerminalView extends ViewPart implements ITerminalView, ITerminalLi
|
|||
|
||||
/** Activate the sy context allowing shortcuts like F3(open declaration) in the view */
|
||||
IContextService ctxtService = (IContextService) getSite().getService(IContextService.class);
|
||||
fRememberedContextActivation = ctxtService.activateContext("org.eclipse.tm.terminal.TerminalPreferencePage"); //$NON-NLS-1$
|
||||
// TODO define context if not existing
|
||||
fRememberedContextActivation = ctxtService.activateContext("org.eclipse.tm.terminal.TerminalContext"); //$NON-NLS-1$
|
||||
|
||||
setPartName(ViewMessages.PROP_TITLE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue