# HG changeset patch # User Rik # Date 1587256525 25200 # Node ID cb0194e0cb0e5ab487d3ca966bf4c968766e2d7f # Parent f3f29e1801fcfc6fe1d35939dec2407c012dee2b struct2hdl.m: Allow loading of uitoggletool objects (bug #58196). * struct2hdl.m: Add "uitoggletool" to list of uiXXX objects that are implemented. diff -r f3f29e1801fc -r cb0194e0cb0e scripts/plot/util/struct2hdl.m --- 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