]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Pass model instead of null 95/3195/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 4 Sep 2019 06:47:54 +0000 (09:47 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Wed, 4 Sep 2019 06:47:54 +0000 (09:47 +0300)
Fixes yet another regression.

gitlab #355

Change-Id: Ic61cbbe347c8f66addf10397fa0f5969dacacad6

bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/RunActiveValidations.java

index efdba04d0ee07fecb12bbb814628989ef6ec434e..f6121ce19ec6179d824a98ffed7a5493cf4a2a3e 100644 (file)
@@ -69,7 +69,7 @@ public class RunActiveValidations extends AbstractHandler {
     public static void run() throws DatabaseException {
         Resource model = Simantics.getSession().syncRequest(new PossibleActiveModel(Simantics.getProjectResource()));
         if(model != null)
-            run(null);
+            run(model);
     }
 
     public static void run(Resource model) {