From: Tuukka Lehtonen Date: Sun, 5 Nov 2017 11:33:07 +0000 (+0200) Subject: Clear subtask from progress monitor after TG to DB import completes X-Git-Tag: v1.31.0~59 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F1194%2F1;p=simantics%2Fplatform.git Clear subtask from progress monitor after TG to DB import completes refs #7599 Change-Id: I991509752544bf85f1a054a46ad0411daec79027 --- diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationStateImpl.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationStateImpl.java index 936f42383..06dae94d3 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationStateImpl.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationStateImpl.java @@ -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);