Mercurial > octave
changeset 28230:cb0194e0cb0e
struct2hdl.m: Allow loading of uitoggletool objects (bug #58196).
* struct2hdl.m: Add "uitoggletool" to list of uiXXX objects that are implemented.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 18 Apr 2020 17:35:25 -0700 |
parents | f3f29e1801fc |
children | cbcf6c064622 |
files | scripts/plot/util/struct2hdl.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/struct2hdl.m Sat Apr 18 17:25:55 2020 -0700 +++ b/scripts/plot/util/struct2hdl.m Sat Apr 18 17:35:25 2020 -0700 @@ -180,7 +180,8 @@ [h, s, p] = createhg (s, p, par, hilev); elseif (any (strcmp (s.type, {"uimenu", "uicontextmenu",... "uicontrol", "uipanel", "uibuttongroup",... - "uitoolbar", "uipushtool", "uitable"}))) + "uitoolbar", "uipushtool", "uitoggletool"... + "uitable"}))) if (isfield (s.properties, "extent")) s.properties = rmfield (s.properties, "extent"); endif