removed changes

This commit is contained in:
patrick
2014-08-14 13:27:40 -04:00
parent 2970feb5ab
commit 7e28e1a745
2 changed files with 0 additions and 10 deletions

View File

@@ -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.

View File

@@ -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();
}
}
});