From a8e6789fa2c38e95653f142a10286cc3bf05e24b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 26 Jul 2001 10:01:31 +0000 Subject: [PATCH] max timestep --- Fltk/GUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index d6e14dbd14..6a06e9015a 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.89 2001-07-26 08:27:08 geuzaine Exp $ +// $Id: GUI.cpp,v 1.90 2001-07-26 10:01:31 geuzaine Exp $ // To make the interface as visually consistent as possible, please: // - use the BH, BW, WB, IW values for button heights/widths, window borders, etc. @@ -2156,6 +2156,7 @@ void GUI::update_view_window(int num){ if(v->NbTimeStep==1) view_timestep->deactivate(); else view_timestep->activate(); view_value[9]->callback(view_options_timestep_cb, (void*)num); + view_value[9]->maximum(v->NbTimeStep-1); opt_view_timestep(num, GMSH_GUI, 0); // vector -- GitLab