From 9cad0a303e32fa1c8464169396e7fea92374af04 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 31 Jan 2012 07:09:36 +0000 Subject: [PATCH] fix --- Fltk/onelabWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index f5d184aa35..8560bc22d8 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -151,6 +151,7 @@ static void mergePostProcessingFile(const std::string &fileName) // if we added steps, go to the last one if(FlGui::instance()->onelab->showLastStep()){ + steps.resize(PView::list.size(), 0); for(int i = 0; i < PView::list.size(); i++){ int step = (int)opt_view_nb_timestep(i, GMSH_GET, 0); if(step > steps[i]) -- GitLab