Skip to content

Commit

Permalink
Merge pull request #67 from CSchank/bugfix
Browse files Browse the repository at this point in the history
Fix for #65
  • Loading branch information
CSchank authored Feb 28, 2019
2 parents 14d6a9b + 7f3afb8 commit 4a3db80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Simulating.elm
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ update env msg ( model, pModel, sModel ) =
--pressed enter
case model of
Editing tId ->
( ( Default tId -1 Nothing, pModel, sModel ), True, Cmd.none )
( ( Default tId -1 Nothing, { pModel | currentStates = epsTrans oldMachine.transitionNames oldMachine.delta oldMachine.start }, sModel ), True, Cmd.none )

_ ->
( ( model, pModel, sModel ), False, Cmd.none )
Expand Down

0 comments on commit 4a3db80

Please sign in to comment.