Commit f903b4dd authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #14523 from AUTOMATIC1111/paste-infotext-cast-int-as-float

paste infotext cast int as float
parents 3f7f61e5 bfc48fbc
......@@ -479,6 +479,8 @@ def connect_paste(button, paste_fields, input_comp, override_settings_component,
if valtype == bool and v == "False":
val = False
elif valtype == int:
val = float(v)
else:
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