paste infotext cast int as float

This commit is contained in:
w-e-w 2024-01-04 03:46:05 +09:00
parent 04a005f0e9
commit bfc48fbc24
1 changed files with 2 additions and 0 deletions

View File

@ -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)