} else if (src == tickOnce || src == LogisimMenuBar.TICK_STEP) {
if (sim != null) sim.tick();
} else if (src == ticksEnabled || src == LogisimMenuBar.TICK_ENABLE) {
if (sim != null) sim.setIsTicking(!sim.isTicking());
} else if (src == log) {
LogFrame frame = menubar.getProject().getLogFrame(true);
frame.setVisible(true);
}
}