cut the filename at the last '.' not at the first in tab-names of the editor

This commit is contained in:
Georg von Zengen 2014-02-27 14:30:19 +01:00
parent 3be6eb84b9
commit efedfa7049
1 changed files with 1 additions and 1 deletions

View File

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