get debugger working when toggled from menu (fixes #282)

This commit is contained in:
Ben Fry
2021-10-04 21:57:33 -04:00
parent 046b652aea
commit abb84e0a64
2 changed files with 4 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ public class Debugger {
debugItem = Toolkit.newJMenuItem(Language.text("menu.debug.enable"), 'D');
debugItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
toggleEnabled();
editor.toggleDebug();
}
});
debugMenu.add(debugItem);