[MPlayer-cvslog] r37672 - trunk/libmenu/vf_menu.c

reimar subversion at mplayerhq.hu
Thu Feb 11 21:07:47 CET 2016


Author: reimar
Date: Thu Feb 11 21:07:47 2016
New Revision: 37672

Log:
vf_menu: set_menu command should also show the menu.

Not 100% sure this is as desired, but when selecting
a menu entry the default behaviour should not
be the menu disappearing!

Modified:
   trunk/libmenu/vf_menu.c

Modified: trunk/libmenu/vf_menu.c
==============================================================================
--- trunk/libmenu/vf_menu.c	Thu Feb 11 20:59:19 2016	(r37671)
+++ trunk/libmenu/vf_menu.c	Thu Feb 11 21:07:47 2016	(r37672)
@@ -109,6 +109,7 @@ static int cmd_filter(mp_cmd_t* cmd, int
     priv->current->show = new != NULL;
     if (new) {
       new->parent = priv->current;
+      new->show = 1;
       priv->current = new;
     } else {
       mp_msg(MSGT_GLOBAL,MSGL_WARN,MSGTR_LIBMENU_FailedToOpenMenu,menu);


More information about the MPlayer-cvslog mailing list