# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1482934204 -10800
# Node ID 3f3d97be9a9f8fe6e7c7f963567a6a0e1e03d82a
# Parent  3638463d6e026c15ae64b9cac1f45a1ef11ca187
temporary disable SFC transitions in IL, because matiec can't compile it

matiec freezes in this case.
See https://bitbucket.org/mjsousa/matiec/issues/58/iec2c-freezes-if-sfc-transition-is-in-il

diff -r 3638463d6e02 -r 3f3d97be9a9f dialogs/PouTransitionDialog.py
--- a/dialogs/PouTransitionDialog.py	Wed Dec 28 16:33:50 2016 +0300
+++ b/dialogs/PouTransitionDialog.py	Wed Dec 28 17:10:04 2016 +0300
@@ -32,7 +32,12 @@
 
 def GetTransitionLanguages():
     _ = lambda x : x
-    return [_("IL"), _("ST"), _("LD"), _("FBD")]
+    #
+    # IL language is temporary disabled because
+    # matiec freezes if transition is written in IL
+    #
+    # return [_("IL"), _("ST"), _("LD"), _("FBD")]
+    return [ _("ST"), _("LD"), _("FBD")]
 TRANSITION_LANGUAGES_DICT = dict([(_(language), language) for language in GetTransitionLanguages()])
 
 class PouTransitionDialog(wx.Dialog):