diff scripts/gui/waitbar.m @ 18619:e7b347dcfc63 gui-release

maint: Periodic merge of stable to gui-release.
author Rik <rik@octave.org>
date Sat, 22 Mar 2014 13:40:46 -0700
parents 1ec884e5ff00 02a61d7c2de0
children fe689210525c
line wrap: on
line diff
--- a/scripts/gui/waitbar.m	Sat Mar 22 13:39:55 2014 -0700
+++ b/scripts/gui/waitbar.m	Sat Mar 22 13:40:46 2014 -0700
@@ -130,9 +130,7 @@
     endif
     title (ax, msg);
 
-    if (! isempty (cf))
-      set (0, "currentfigure", cf);
-    endif
+    set (0, "currentfigure", cf);
   endif
 
   drawnow ();