/PhotoAlbum/trunk/src/ak/photoalbum/logic/Logic.java/Logic.java |
---|
172,6 → 172,9 |
throw new FileNotFoundException("[" + file.getCanonicalPath() |
+ "] not found in [" + dir.getCanonicalPath() + "]"); |
// calc page number in index |
index.setPage(pos / branch.getColumns() / branch.getRows()); |
branch.getMetaInfos().clear(); // FIXME make this more intelligent |
setEntryInfo(branch, page, file, false); |
setEntryInfo(branch, current, file, true); |