changeset 20096:402e6678673b

Redraw FLTK figure after double-click "zoom out". * __init_fltk__.cc (handle): Use mark_modified() after setting auto axis limits so that figure will be redrawn.
author Rik <rik@octave.org>
date Thu, 09 Apr 2015 16:13:59 -0700
parents 76b1168342c0
children bae843c997a4
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	Thu Apr 09 15:56:30 2015 -0700
+++ b/libinterp/dldfcn/__init_fltk__.cc	Thu Apr 09 16:13:59 2015 -0700
@@ -1684,6 +1684,7 @@
                   set_on_ax_obj ("xlimmode", "auto");
                   set_on_ax_obj ("ylimmode", "auto");
                   set_on_ax_obj ("zlimmode", "auto");
+                  mark_modified ();
                   return 1;
                 }
               if (Fl::event_button () == 3)