Mercurial > octave
view test/bug-54490.tst @ 30924:e219aacda1e5 stable
hdl2struct.m: Fix saving of uibuttongroups (bug #62266).
* hdl2struct.m (getprops): Add "selectedobject" to list of properties
which should be excluded from saving.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 10 Apr 2022 14:34:05 -0700 |
parents | 9080316864bf |
children |
line wrap: on
line source
%!function out = bug54490 () %! global k; %! k = 1; %! out = 3; %!endfunction %!test <*54490> %! global k; %! k = 2; %! a = [5, 6]; %! a(k) = bug54490 (); %! assert (a, [5, 3]); %! k = 2; %! a = [5, 6]; %! [a(k)] = bug54490 (); %! assert (a, [5, 3]); %! clear -global k; # cleanup after test