summaryrefslogtreecommitdiff
path: root/elm/CharEdit.elm
diff options
context:
space:
mode:
Diffstat (limited to 'elm/CharEdit.elm')
-rw-r--r--elm/CharEdit.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/CharEdit.elm b/elm/CharEdit.elm
index 56aadb81..6b964117 100644
--- a/elm/CharEdit.elm
+++ b/elm/CharEdit.elm
@@ -269,7 +269,7 @@ update msg model =
isValid : Model -> Bool
isValid model = not
- ( model.name == model.original
+ ( (model.name /= "" && model.name == model.original)
|| hasDuplicates (List.map (\v -> (v.vid, Maybe.withDefault 0 v.rid)) model.vns)
)