import java.awt.event.KeyEvent;
import java.io.IOException;
import java.text.MessageFormat;
+import java.util.Map.Entry;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.text.DocumentFilter;
import net.pterodactylus.util.swing.SortedListModel;
+import de.todesbaum.jsite.application.FileOption;
import de.todesbaum.jsite.application.Freenet7Interface;
import de.todesbaum.jsite.application.Project;
import de.todesbaum.jsite.application.WebOfTrustInterface;
selectedProject.setRequestURI(keyDialog.getPublicKey());
if (!originalPublicKey.equals(selectedProject.getRequestURI()) || !originalPrivateKey.equals(selectedProject.getInsertURI())) {
selectedProject.setEdition(-1);
+ for (Entry<String, FileOption> fileOption : selectedProject.getFileOptions().entrySet()) {
+ fileOption.getValue().setLastInsertHash(null);
+ }
}
updateCompleteURI();
}