mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
cut the filename at the last '.' not at the first in tab-names of the editor
This commit is contained in:
@ -87,7 +87,7 @@ public class SketchCode {
|
||||
|
||||
protected void makePrettyName() {
|
||||
prettyName = file.getName();
|
||||
int dot = prettyName.indexOf('.');
|
||||
int dot = prettyName.lastIndexOf('.');
|
||||
prettyName = prettyName.substring(0, dot);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user