mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
Merge pull request #95 from processing/fix_debugger_button
This commit is contained in:
@@ -1862,6 +1862,7 @@ public class JavaEditor extends Editor {
|
||||
public void toggleDebug() {
|
||||
// debugEnabled = !debugEnabled;
|
||||
|
||||
debugger.toggleEnabled();
|
||||
rebuildToolbar();
|
||||
repaint(); // show/hide breakpoints in the gutter
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ public class Debugger {
|
||||
}
|
||||
|
||||
|
||||
void toggleEnabled() {
|
||||
public void toggleEnabled() {
|
||||
enabled = !enabled;
|
||||
|
||||
if (enabled) {
|
||||
|
||||
Reference in New Issue
Block a user