remove the Restart menu used during debugging

This commit is contained in:
Ben Fry
2023-02-09 21:27:49 -05:00
parent 2394a54e18
commit be17e94f8c
2 changed files with 8 additions and 11 deletions
+7 -8
View File
@@ -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();
+1 -3
View File
@@ -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)