better display of subfolders

This commit is contained in:
Maxmtg
2013-08-19 22:48:33 +00:00
parent ada5fa5056
commit eebbb45b2c
2 changed files with 3 additions and 3 deletions

View File

@@ -109,9 +109,9 @@ public class DeckgenUtil {
String name = selection;
int idxSlash = name.indexOf('/');
while( idxSlash > 0 ) {
String sf = name.substring(0, idxSlash);
String sf = name.substring(0, idxSlash).trim();
path = path.getFolders().get(sf);
name = name.substring(idxSlash+1);
name = name.substring(idxSlash+1).trim();
idxSlash = name.indexOf('/');
};
return path.get(name);