diff --git a/data/core/commandview.lua b/data/core/commandview.lua index e0af6c21..1f388678 100644 --- a/data/core/commandview.lua +++ b/data/core/commandview.lua @@ -159,7 +159,7 @@ end function CommandView:submit() local suggestion = self.suggestions[self.suggestion_idx] local text = self:get_text() - if self.state.validate(text) then + if self.state.validate(text, suggestion) then local submit = self.state.submit self:exit(true) submit(text, suggestion)