mirror of
https://github.com/processing/processing4.git
synced 2026-05-03 17:35:00 +02:00
removed changes
This commit is contained in:
@@ -2563,16 +2563,10 @@ public abstract class Editor extends JFrame implements RunnerListener {
|
||||
statusNotice(Language.text("editor.status.saving"));
|
||||
try {
|
||||
if (sketch.saveAs()) {
|
||||
<<<<<<< HEAD
|
||||
//a saveAs moves where the files are, so a listener must be attached to the new location
|
||||
initFileChangeListener();
|
||||
statusNotice("Done Saving.");
|
||||
=======
|
||||
// statusNotice("Done Saving.");
|
||||
// status is now printed from Sketch so that "Done Saving."
|
||||
// is only printed after Save As when progress bar is shown.
|
||||
|
||||
>>>>>>> upstream/master
|
||||
// Disabling this for 0125, instead rebuild the menu inside
|
||||
// the Save As method of the Sketch object, since that's the
|
||||
// only one who knows whether something was renamed.
|
||||
|
||||
@@ -511,8 +511,6 @@ public class EditorHeader extends JComponent {
|
||||
item = Toolkit.newJMenuItemShift(Language.text("editor.header.new_tab"), 'N');
|
||||
item.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
//prevent reload request
|
||||
editor.setChanged();
|
||||
editor.getSketch().handleNewCode();
|
||||
}
|
||||
});
|
||||
@@ -544,8 +542,6 @@ public class EditorHeader extends JComponent {
|
||||
Language.text("editor.header.delete.warning.text"), null);
|
||||
} else {
|
||||
editor.getSketch().handleDeleteCode();
|
||||
//prevent reload request
|
||||
editor.setChanged();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user