Fix error handling

This commit is contained in:
Gabriel Nützi 2021-02-11 00:07:18 +01:00 committed by Nuno Cruces
parent bd17e5e9ec
commit 566c40cbe8

View file

@ -589,10 +589,5 @@ func editBox(title, text, defaultText, className string, password bool) (string,
return out, false, err
}
ret := false
if out != "" {
ret = true
}
return out, ret, nil
return out, true, nil
}