diff options
Diffstat (limited to 'libmenu/vf_menu.c')
-rw-r--r-- | libmenu/vf_menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmenu/vf_menu.c b/libmenu/vf_menu.c index b1fd822f36..7d81834231 100644 --- a/libmenu/vf_menu.c +++ b/libmenu/vf_menu.c @@ -165,7 +165,8 @@ inline static void copy_mpi(mp_image_t *dmpi, mp_image_t *mpi) { static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ mp_image_t *dmpi = NULL; - if(vf->priv->current->show) { + if(vf->priv->current->show + || (vf->priv->current->parent && vf->priv->current->parent->show)) { // Close all menu who requested it while(vf->priv->current->cl && vf->priv->current != vf->priv->root) { menu_t* m = vf->priv->current; |