Commit bfc48fbc authored by w-e-w's avatar w-e-w

paste infotext cast int as float

parent 04a005f0
...@@ -477,6 +477,8 @@ def connect_paste(button, paste_fields, input_comp, override_settings_component, ...@@ -477,6 +477,8 @@ def connect_paste(button, paste_fields, input_comp, override_settings_component,
if valtype == bool and v == "False": if valtype == bool and v == "False":
val = False val = False
elif valtype == int:
val = float(v)
else: else:
val = valtype(v) val = valtype(v)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment