# HG changeset patch # User Rik # Date 1395377834 25200 # Node ID 02a61d7c2de06d2a9ee5eea206ae62591364b5ec # Parent 756e906bdfdab7f87761e546924e7866205c84f5 waitbar.m: Fix regression of plots openin in waitbar window (bug #41914). * waitbar.m: Always restore the root figures current figure, even when it is empty, so that the waitbar figure never becomes the current figure. diff -r 756e906bdfda -r 02a61d7c2de0 scripts/gui/waitbar.m --- a/scripts/gui/waitbar.m Thu Mar 20 08:56:39 2014 -0700 +++ b/scripts/gui/waitbar.m Thu Mar 20 21:57:14 2014 -0700 @@ -129,9 +129,7 @@ endif title (ax, msg); - if (! isempty (cf)) - set (0, "currentfigure", cf); - endif + set (0, "currentfigure", cf); endif drawnow ();