# HG changeset patch # User Andreas Weber # Date 1406621885 -7200 # Node ID 69658bd9952b8b5aa6f2f2cbb08e2dff7c6395b3 # Parent b2db129c664d77c7a011c797d205935a76c845a5 __add_default_menu__.m: Fix bug that findobj is missing HLIST diff -r b2db129c664d -r 69658bd9952b scripts/plot/util/private/__add_default_menu__.m --- a/scripts/plot/util/private/__add_default_menu__.m Mon Jul 28 22:47:52 2014 +0200 +++ b/scripts/plot/util/private/__add_default_menu__.m Tue Jul 29 10:18:05 2014 +0200 @@ -93,7 +93,7 @@ fig = ancestor (h, "figure"); ## Find all axes which aren't legends - hax = findobj ("type", "axes", "-not", "tag", "legend"); + hax = findobj (fig, "type", "axes", "-not", "tag", "legend"); endfunction function grid_cb (h, e)