1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-19 08:52:15 +01:00

Fixed the bug that doesn't updates the title when an example sketch is saved

This commit is contained in:
Jose Juan Juarez Monsivais 2018-06-07 13:11:49 -05:00 committed by Cristian Maglie
parent 3a3bc5be84
commit 9d904dad31
2 changed files with 2 additions and 2 deletions

View File

@ -1970,7 +1970,7 @@ public class Editor extends JFrame implements RunnerListener {
return true;
}
private void updateTitle() {
public void updateTitle() {
if (sketchController == null) {
return;
}

View File

@ -438,7 +438,7 @@ public class SketchController {
//editor.sketchbook.rebuildMenusAsync();
editor.base.rebuildSketchbookMenus();
editor.header.rebuild();
editor.updateTitle();
// Make sure that it's not an untitled sketch
setUntitled(false);