changeset 19054:d74cdfc5d5c3

Fix problem that FLTK figure stays visible after "close" * __init_fltk__.cc: Add Fl::check () to destructor to force hide if octave is busy.
author Andreas Weber <andy.weber.aw@gmail.com>
date Sun, 17 Aug 2014 22:34:37 +0200
parents 54f4c63b8e5d
children 9609f345823e
files libinterp/dldfcn/__init_fltk__.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc	Sun Aug 17 18:33:49 2014 +0100
+++ b/libinterp/dldfcn/__init_fltk__.cc	Sun Aug 17 22:34:37 2014 +0200
@@ -759,6 +759,7 @@
   ~plot_window (void)
   {
     this->hide ();
+    Fl::check ();
   }
 
   double number (void) { return fp.get___myhandle__ ().value (); }