--- a/editors/Viewer.py Tue Sep 11 16:33:39 2012 +0200
+++ b/editors/Viewer.py Tue Sep 11 16:35:11 2012 +0200
@@ -234,8 +234,6 @@
message = _("\"%s\" can't use itself!")%pou_name
elif pou_type == "function" and values[1] != "function":
message = _("Function Blocks can't be used in Functions!")
- elif words[0] == "T" and values[1] != "function":
- message = _("Function Blocks can't be used in Transitions!")
elif self.ParentWindow.Controler.PouIsUsedBy(pou_name, values[0], self.ParentWindow.Debug):
message = _("\"%s\" is already used by \"%s\"!")%(pou_name, values[0])
else: