]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/SCL.java
Sync git svn branch with SVN repository r33199.
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / SCL.java
index 691d82961e892389eb91b5842c03c36cfa49926c..555401327c89b48c4bd7cb73355f35a611710796 100644 (file)
@@ -44,7 +44,7 @@ public class SCL {
         SimanticsPlatform.INSTANCE.shutdown(null);\r
     }\r
     public static void reconnectPlatform() throws Exception {\r
-        SimanticsPlatform.INSTANCE.reconnect(null);\r
+        SimanticsPlatform.INSTANCE.reconnect(Simantics.getDefaultDatabaseDriver());\r
     }\r
     public static void synchronizeOntologies() throws Exception {\r
        SimanticsPlatform.INSTANCE.synchronizeOntologies(new NullProgressMonitor(), OntologyRecoveryPolicy.Merge, true);\r