Skip to content

Commit

Permalink
Fix regression introduced in e2f1af4
Browse files Browse the repository at this point in the history
  • Loading branch information
koutcher committed Feb 15, 2024
1 parent e83bbbd commit 5b03f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ status_request(struct view *view, enum request request, struct line *line)
/* After returning the status view has been split to
* show the stage view. No further reloading is
* necessary. */
return status_enter(view, line, OPEN_SPLIT);
return status_enter(view, line, view_is_displayed(view) ? OPEN_SPLIT : OPEN_DEFAULT);

case REQ_VIEW_STAGE:
return status_enter(view, line, OPEN_DEFAULT);
Expand Down

0 comments on commit 5b03f69

Please sign in to comment.