Reworked some parts of the MachineContext to make its status clear.
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / tables / mi / InstructionView.java
index b352e09..10d2f4d 100644 (file)
@@ -175,6 +175,7 @@ public class InstructionView extends EditorPart implements MemoryCellModifiedLis
                        {
                                IFileEditorInput fileInput = (IFileEditorInput) input;
                                context = ProjectMachineContext.getMachineContextOf(fileInput.getFile().getProject());
+                               context.activateMachine();
                                setPartName(fileInput.getName());
                                open(fileInput.getFile());
                        }