From 4e11ae2950a62b7b720bcf2b7b8f9dc7e8cc4216 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Sun, 5 Nov 2017 13:33:07 +0200 Subject: [PATCH] Clear subtask from progress monitor after TG to DB import completes refs #7599 Change-Id: I991509752544bf85f1a054a46ad0411daec79027 --- .../org/simantics/db/layer0/migration/MigrationStateImpl.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.1