1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Recent sketches list updated even when a new sketch is saved. Fixes #3285

This commit is contained in:
Federico Fissore 2015-06-04 10:41:13 +02:00
parent bede6967d5
commit e33bd78a1d

View File

@ -2455,6 +2455,8 @@ public class Editor extends JFrame implements RunnerListener {
statusNotice(_("Saving..."));
try {
if (sketch.saveAs()) {
base.storeRecentSketches(sketch);
base.rebuildRecentSketchesMenuItems();
statusNotice(_("Done Saving."));
// Disabling this for 0125, instead rebuild the menu inside
// the Save As method of the Sketch object, since that's the