Mercurial > octave
changeset 21997:d5feadcf2949
Turn pager off during demos, to work around a Qt hang (bug #48296)
* demo.m: Add page_screen_output (false, "local") before tests.
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Wed, 29 Jun 2016 13:02:35 -0700 |
parents | d6370831d37f |
children | cf5db742f552 |
files | scripts/testfun/demo.m |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/testfun/demo.m Fri Jun 17 08:06:19 2016 -0400 +++ b/scripts/testfun/demo.m Wed Jun 29 13:02:35 2016 -0700 @@ -108,6 +108,9 @@ error ("demo: N must be a scalar integer"); endif + ## Paging causes Qt graphics to hang on some demos. + page_screen_output (false, "local"); + [code, idx] = test (name, "grabdemo"); if (idx == -1)