From 3a2a748cdcd081e77a40937126f2be7124bee151 Mon Sep 17 00:00:00 2001 From: lempinen Date: Tue, 12 Oct 2010 10:53:19 +0000 Subject: [PATCH] Added a negation to make this work like it should git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18387 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/sysdyn/ui/properties/ConfigurationTab.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java index acd77170..e01ee5e5 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java @@ -48,7 +48,7 @@ public class ConfigurationTab extends PropertyTabContributorImpl { @Override public String isValid(String newText) { - if (VariableNameUtils.isValid(newText)) + if (!VariableNameUtils.isValid(newText)) return "Sorry but spaces and special characters are not allowed for names right now"; return null; } -- 2.47.1