Mercurial > octave-nkf
changeset 19001:69658bd9952b
__add_default_menu__.m: Fix bug that findobj is missing HLIST
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Tue, 29 Jul 2014 10:18:05 +0200 |
parents | b2db129c664d |
children | 0257a936dc4a |
files | scripts/plot/util/private/__add_default_menu__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)