From be17e94f8cec2c4de4f7a6566f48fdebb824c4f1 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 9 Feb 2023 21:27:49 -0500 Subject: [PATCH] remove the Restart menu used during debugging --- app/src/processing/app/ui/Editor.java | 15 +++++++-------- todo.txt | 4 +--- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java index 8807b06ce..b9761aa79 100644 --- a/app/src/processing/app/ui/Editor.java +++ b/app/src/processing/app/ui/Editor.java @@ -697,15 +697,14 @@ public abstract class Editor extends JFrame implements RunnerListener { item.addActionListener(e -> handlePrint()); fileMenu.add(item); - { - fileMenu.addSeparator(); + /* + fileMenu.addSeparator(); + item = new JMenuItem("Restart"); + item.addActionListener(e -> base.handleRestart()); + fileMenu.add(item); + */ - item = new JMenuItem("Restart"); - item.addActionListener(e -> base.handleRestart()); - fileMenu.add(item); - } - - // Mac OS X already has its own preferences and quit menu. + // macOS already has its own preferences and quit menu. // That's right! Think different, b*tches! if (!Platform.isMacOS()) { fileMenu.addSeparator(); diff --git a/todo.txt b/todo.txt index 987f0e818..02c1ae5bc 100755 --- a/todo.txt +++ b/todo.txt @@ -6,6 +6,7 @@ X also fix several that still had tabs instead of spaces X update to JDK 17.0.6+10 from https://adoptium.net/ X fix inversion of handleSaveAs() introduced in: X https://github.com/processing/processing4/commit/aef561a8eb8fa894c5a22c611279a5092e2dbb28 +X remove temporary 'restart' menu before release manager X add 'exports' to the library parameters @@ -29,9 +30,6 @@ X Improved documentation for lerpColor() function X https://github.com/processing/processing4/pull/655 -_ remove temporary 'restart' menu before release - - manager _ if contrib (library only?) folder name changes on update, old lib not removed _ Updates requiring a reboot give the false impression that they failed (in the updates tab)