dialogs/ForceVariableDialog.py
changeset 2510 4f78f0e201d9
parent 2508 9076249f11eb
child 2511 d6e0442a3986
--- a/dialogs/ForceVariableDialog.py	Thu Feb 14 10:02:58 2019 +0300
+++ b/dialogs/ForceVariableDialog.py	Thu Feb 14 10:19:30 2019 +0300
@@ -228,4 +228,7 @@
         event.Skip()
 
     def GetValue(self):
-        return GetTypeValue[self.IEC_Type](wx.TextEntryDialog.GetValue(self))
+        """
+        Return new enforce value of particular type
+        """
+        return GetTypeValue[self.IEC_Type](self.ValueTextCtrl.GetValue())