mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
Restore fix for debugger button from #74.
Restore fix fromd126c70893that were lost when accepting changes on master from200afc4fd8.
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