]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Clear subtask from progress monitor after TG to DB import completes 94/1194/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 5 Nov 2017 11:33:07 +0000 (13:33 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 5 Nov 2017 11:33:07 +0000 (13:33 +0200)
refs #7599

Change-Id: I991509752544bf85f1a054a46ad0411daec79027

bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationStateImpl.java

index 936f423833718bd301e15208aabe945873a6fa47..06dae94d3fd796690f2ffc22ca18d33a6c0ca0b0 100644 (file)
@@ -310,6 +310,7 @@ public class MigrationStateImpl implements MigrationState {
                String task = "Importing model into database";
                monitor.subTask(task);
                ImportResult ir = TransferableGraphs.importGraph1(session, tgs, advisor, new TGImportMonitor(monitor, task));
+               monitor.subTask("");
 
                setProperty(MigrationStateKeys.IMPORT_RESULT, ir);
                setProperty(MigrationStateKeys.CURRENT_RESOURCE, indexRoot);