# HG changeset patch # User Rik # Date 1649626445 25200 # Node ID e219aacda1e55623dcbc0910e851dda41f98a396 # Parent 84fa12727b435a1f58ed6b1aa8859b4e1bbc4814 hdl2struct.m: Fix saving of uibuttongroups (bug #62266). * hdl2struct.m (getprops): Add "selectedobject" to list of properties which should be excluded from saving. diff -r 84fa12727b43 -r e219aacda1e5 scripts/plot/util/hdl2struct.m --- a/scripts/plot/util/hdl2struct.m Fri Apr 08 19:55:41 2022 +0200 +++ b/scripts/plot/util/hdl2struct.m Sun Apr 10 14:34:05 2022 -0700 @@ -145,13 +145,13 @@ persistent excluded; if (isempty (excluded)) - excluded = cell2struct (repmat ({[]}, 1, 16), + excluded = cell2struct (repmat ({[]}, 1, 17), {"beingdeleted", "busyaction", "buttondownfcn", ... "children", "clipping", "contextmenu", ... "createfcn", "deletefcn", "handlevisibility", ... "hittest", "interruptible", "parent", ... - "selected" , "selectionhighlight", "type", ... - "uicontextmenu"}, 2); + "selected" , "selectionhighlight", ... + "selectedobject", "type", "uicontextmenu"}, 2); endif obj = get (h);