controls/VariablePanel.py
changeset 1847 6198190bc121
parent 1846 14b40afccd69
child 1850 614396cbffbf
--- a/controls/VariablePanel.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/controls/VariablePanel.py	Thu Oct 05 16:38:49 2017 +0300
@@ -875,7 +875,7 @@
     def BuildProjectTypesMenu(self, type_menu, classtype):
         # build a submenu containing function block types
         bodytype = self.Controler.GetEditedElementBodyType(self.TagName)
-        pouname, poutype = self.Controler.GetEditedElementType(self.TagName)
+        _pouname, poutype = self.Controler.GetEditedElementType(self.TagName)
         if classtype in ["Input", "Output", "InOut", "External", "Global"] or \
            poutype != "function" and bodytype in ["ST", "IL"]:
             functionblock_menu = wx.Menu(title='')