Mercurial > hg > octave-terminal
changeset 14238:1facbe04b00c stable
Fix regression in 9fc597693b0b preventing updating of waitbar text string.
* waitbar.m: Fix regression in 9fc597693b0b preventing updating of
waitbar text string.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Fri, 20 Jan 2012 17:40:30 -0800 |
parents | 846273dae16b |
children | 61db003b8e47 |
files | scripts/plot/waitbar.m |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/waitbar.m +++ b/scripts/plot/waitbar.m @@ -92,8 +92,12 @@ if (ischar (msg) || iscellstr (msg)) th = get (ax, "title"); curr_msg = get (th, "string"); + ## graphics handles always store data as column vectors + if (iscellstr (msg)) + msg = msg(:); + endif cmp = strcmp (msg, curr_msg); - if (all (cmp(:))) + if (! all (cmp(:))) set (th, "string", msg); endif endif