From: Jussi Koskela Date: Wed, 4 Sep 2019 06:47:54 +0000 (+0300) Subject: Pass model instead of null X-Git-Tag: v1.43.0~136^2~80 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=615860c40d342c6df580c83189fe15de2a3b965a;p=simantics%2Fplatform.git Pass model instead of null Fixes yet another regression. gitlab #355 Change-Id: Ic61cbbe347c8f66addf10397fa0f5969dacacad6 --- diff --git a/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/RunActiveValidations.java b/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/RunActiveValidations.java index efdba04d0..f6121ce19 100644 --- a/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/RunActiveValidations.java +++ b/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/RunActiveValidations.java @@ -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) {