diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index f16e0b0..3b399dc 100644 --- a/src/command.c +++ b/src/command.c @@ -59,6 +59,12 @@ down(struct context *ctx, int key) return; ctl = interface_get_current_ctl(&ctx->interface, &parent); + if (ctl == NULL) { + ifc->chooser_child = SELECTED_MAIN_CTL; + ctl = interface_get_current_ctl(&ctx->interface, &parent); + if (ctl == NULL) + return; + } if (parent) ctl = parent; |