mirror of
https://github.com/esp8266/Arduino.git
synced 2025-11-28 17:36:39 +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() {
|
protected void makePrettyName() {
|
||||||
prettyName = file.getName();
|
prettyName = file.getName();
|
||||||
int dot = prettyName.indexOf('.');
|
int dot = prettyName.lastIndexOf('.');
|
||||||
prettyName = prettyName.substring(0, dot);
|
prettyName = prettyName.substring(0, dot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user