dialogs/ForceVariableDialog.py
changeset 476 2e09d2e86a35
parent 475 9ca03fdff80f
child 479 2fab0eefa66e
--- a/dialogs/ForceVariableDialog.py	Mon Dec 07 21:36:38 2009 +0100
+++ b/dialogs/ForceVariableDialog.py	Mon Dec 07 22:06:04 2009 +0100
@@ -41,9 +41,9 @@
             return None
     return get_function
 
-getinteger = gen_check_function(int)
-getfloat = gen_check_function(float)
-getstring = gen_check_function(str)
+getinteger = gen_get_function(int)
+getfloat = gen_get_function(float)
+getstring = gen_get_function(str)
 
 GetTypeValue = {"BOOL": lambda x: {"TRUE": True, "FALSE": False}.get(x, None),
                 "SINT": getinteger,