1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 13:35:22 +02:00

Bug 155826: Duplicate addListener call in Signals view.

This commit is contained in:
Mikhail Khodjaiants 2006-08-31 14:42:37 +00:00
parent 62a4d11277
commit 890b02af45
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2006-08-31 Mikhail Khodjaiants
Bug 155826: Duplicate addListener call in Signals view.
* SignalsView.java
2006-08-14 Mikhail Khodjaiants
Bug 136896: View variables in binary format.
Applied modified patch from Mark Mitchell (CodeSourcery).

View file

@ -95,7 +95,6 @@ public class SignalsView extends AbstractDebugEventHandlerView
* @see org.eclipse.debug.ui.AbstractDebugView#createViewer(org.eclipse.swt.widgets.Composite)
*/
protected Viewer createViewer( Composite parent ) {
CDebugUIPlugin.getDefault().getPreferenceStore().addPropertyChangeListener( this );
// add tree viewer
final SignalsViewer vv = new SignalsViewer( parent, SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL );
@ -103,6 +102,7 @@ public class SignalsView extends AbstractDebugEventHandlerView
vv.setLabelProvider( new SignalsViewLabelProvider() );
vv.setUseHashlookup( true );
// listen to preference changes
CDebugUIPlugin.getDefault().getPreferenceStore().addPropertyChangeListener( this );
// listen to selection in debug view