mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Minor optimization
This commit is contained in:
parent
3c78f0d8e1
commit
c56222f3e5
1 changed files with 2 additions and 2 deletions
|
@ -866,7 +866,7 @@ public class DisassemblyView extends AbstractDebugEventHandlerView
|
|||
|
||||
// register the context menu such that other plugins may contribute to it
|
||||
if ( getSite() != null ) {
|
||||
getSite().registerContextMenu( getViewContextMenuId(), manager, getSourceViewer() );
|
||||
getSite().registerContextMenu( id, manager, getSourceViewer() );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -881,7 +881,7 @@ public class DisassemblyView extends AbstractDebugEventHandlerView
|
|||
rulerControl.addMouseListener( getRulerMouseListener() );
|
||||
|
||||
if ( getSite() != null ) {
|
||||
getSite().registerContextMenu( getRulerContextMenuId(), manager, getSourceViewer() );
|
||||
getSite().registerContextMenu( id, manager, getSourceViewer() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue