Fix error handling
This commit is contained in:
parent
bd17e5e9ec
commit
566c40cbe8
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue