mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
WMenubar: remove unneeded action.
(menubar_activate): do not focus explicitly. Focus is made in widget_select(). Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
789aa0bb22
commit
53d073758f
@ -1074,7 +1074,6 @@ menubar_activate (WMenuBar * menubar, gboolean dropped, int which)
|
||||
{
|
||||
widget_set_options (w, WOP_SELECTABLE, TRUE);
|
||||
|
||||
widget_set_state (w, WST_FOCUSED, TRUE); /* FIXME: unneeded? */
|
||||
menubar->is_dropped = dropped;
|
||||
if (which >= 0)
|
||||
menubar->selected = (guint) which;
|
||||
|
Loading…
Reference in New Issue
Block a user