From: David ‘Bombe’ Roden Date: Thu, 28 Jan 2010 09:04:09 +0000 (+0100) Subject: Fire the “insert finished” event after updating the project. X-Git-Tag: 0.9~7 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=fb14a3def7fcb4c134c2137bd44da5267670c20a;p=jSite.git Fire the “insert finished” event after updating the project. --- diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index 48fd36b..d3066a0 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -549,7 +549,6 @@ public class ProjectInserter implements FileScannerListener, Runnable { } /* post-insert work */ - fireProjectInsertFinished(success, disconnected ? new IOException("Connection terminated") : null); if (success) { @SuppressWarnings("null") String editionPart = finalURI.substring(finalURI.lastIndexOf('/') + 1); @@ -557,6 +556,7 @@ public class ProjectInserter implements FileScannerListener, Runnable { project.setEdition(newEdition); project.setLastInsertionTime(System.currentTimeMillis()); } + fireProjectInsertFinished(success, disconnected ? new IOException("Connection terminated") : null); } //