X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2Fviews%2FSimulationView.java;h=d1a9041888e3f5ff32cc69451932ae0caf92570e;hb=0c404f876557865fb7361ca458ac90caf41afe19;hp=9f9f60b410dc51f75a5b54b0e12b6881934acbb0;hpb=240c1cb91e7ef820c25652c75187f0ece79723d6;p=Mograsim.git diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/views/SimulationView.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/views/SimulationView.java index 9f9f60b4..d1a90418 100644 --- a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/views/SimulationView.java +++ b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/views/SimulationView.java @@ -175,7 +175,8 @@ public class SimulationView extends ViewPart private void addInstructionPreviewControlWidgets(Composite parent) { - instPreview = new InstructionTable(parent, new DisplaySettings(), getSite().getWorkbenchWindow().getWorkbench().getThemeManager()); + instPreview = new InstructionTable(parent, new DisplaySettings(), getSite().getWorkbenchWindow().getWorkbench().getThemeManager(), + false); instPreview.getTableViewer().getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); contentProvider = new ActiveInstructionPreviewContentProvider(instPreview.getTableViewer()); instPreview.setContentProvider(contentProvider); @@ -183,8 +184,7 @@ public class SimulationView extends ViewPart private void debugContextChanged(Optional newTarget) { - // if we didn't find a selected MachineDebugTarget - // call binToDebugTarget even if this.debugTarget==null + // call binToDebugTarget even if we didn't find a selected MachineDebugTarget bindToDebugTarget(newTarget.orElse(null)); }