Skip to content

Commit

Permalink
also run handleInfoPanelEvent for dialogs other than GoalModal (#…
Browse files Browse the repository at this point in the history
…1071)

Fixes #1068.
  • Loading branch information
byorgey authored Jan 31, 2023
1 parent e02d54a commit a785f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Swarm/TUI/Controller.hs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ handleModalEvent = \case
uiState . uiGoal . listWidget .= newList
GoalSummary -> handleInfoPanelEvent modalScroll (VtyEvent ev)
_ -> handleInfoPanelEvent modalScroll (VtyEvent ev)
_ -> return ()
_ -> handleInfoPanelEvent modalScroll (VtyEvent ev)
where
refreshList lw = nestEventM' lw $ handleListEventWithSeparators ev isHeader

Expand Down

0 comments on commit a785f5f

Please sign in to comment.