From 615860c40d342c6df580c83189fe15de2a3b965a Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Wed, 4 Sep 2019 09:47:54 +0300 Subject: [PATCH] Pass model instead of null Fixes yet another regression. gitlab #355 Change-Id: Ic61cbbe347c8f66addf10397fa0f5969dacacad6 --- .../org/simantics/issues/ui/handler/RunActiveValidations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.1