Clear 'Failed' flag when input changes
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
2a0db676bc
commit
a17ea205c7
|
@ -320,12 +320,12 @@ update msg m =
|
|||
SetProgram prog -> ({ m | program = prog }, Cmd.none)
|
||||
SetRenderProgram prog -> ({ m | renderProgram = prog }, Cmd.none)
|
||||
SetInput input ->
|
||||
( { m | input = input }
|
||||
( { m | input = input, desugaredQuery = Requested }
|
||||
, requestDesugaring m.inputMode m.inputModes input
|
||||
)
|
||||
SetTab tab -> ({ m | tab = tab }, Cmd.none)
|
||||
SetInputMode mode ->
|
||||
( { m | inputMode = mode }
|
||||
( { m | inputMode = mode, desugaredQuery = Requested }
|
||||
, requestDesugaring mode m.inputModes m.input
|
||||
)
|
||||
SetResultMode mode -> ({ m | resultMode = mode }, Cmd.none)
|
||||
|
|
Loading…
Reference in New Issue
Block a user