Don’t set start time when before the upload starts.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 1 Jun 2009 14:11:45 +0000 (16:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 1 Jun 2009 14:11:45 +0000 (16:11 +0200)
src/de/todesbaum/jsite/gui/ProjectInsertPage.java

index 63eaf49..5fe946e 100644 (file)
@@ -254,12 +254,12 @@ public class ProjectInsertPage extends TWizardPage implements InsertListener, Cl
         * {@inheritDoc}
         */
        public void projectInsertStarted(final Project project) {
-               startTime = System.currentTimeMillis();
+
                SwingUtilities.invokeLater(new Runnable() {
 
                        @SuppressWarnings("synthetic-access")
                        public void run() {
-                               startTimeLabel.setText(DateFormat.getDateTimeInstance().format(new Date(startTime)));
+                               startTimeLabel.setText(DateFormat.getDateTimeInstance().format(new Date()));
                        }
                });
        }