summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Koutcher <thomas.koutcher@online.fr>2024-02-16 00:44:32 +0100
committerThomas Koutcher <thomas.koutcher@online.fr>2024-02-16 00:44:32 +0100
commit5b03f6982ac0e6be846be6f0c7998a16262e1b5d (patch)
treea855cceac8f70c90bac7f2d36162c7445a52939f
parente83bbbdef8e8b59e5397fba415de615031d314a1 (diff)
Fix regression introduced in e2f1af4
-rw-r--r--src/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status.c b/src/status.c
index 96820498..7391426f 100644
--- a/src/status.c
+++ b/src/status.c
@@ -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);