--- a/editors/Viewer.py Tue Jun 11 23:08:06 2013 +0200
+++ b/editors/Viewer.py Tue Jun 11 23:50:44 2013 +0200
@@ -2228,7 +2228,7 @@
if dialog.ShowModal() == wx.ID_OK:
id = self.GetNewId()
values = dialog.GetValues()
- variable = FBD_Variable(self, values["class"], values["expression"], values["vr_type"], id)
+ variable = FBD_Variable(self, values["class"], values["expression"], values["var_type"], id)
variable.SetPosition(bbox.x, bbox.y)
variable.SetSize(*self.GetScaledSize(values["width"], values["height"]))
self.AddBlock(variable)