swf node name fixed

This commit is contained in:
Honfika
2014-01-21 21:56:58 +01:00
parent 13722ba24c
commit e1f37eb0b6
3 changed files with 12 additions and 7 deletions

View File

@@ -448,10 +448,11 @@ public final class SWF implements TreeItem {
}
public String getShortFileName() {
if (file == null) {
String title = getFileTitle();
if (title == null) {
return "";
}
return new File(file).getName();
return new File(title).getName();
}
private void findFileAttributes() {