Skip to content
Snippets Groups Projects
Commit 9223cf70 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

trying to fix crash when removing views while merging a file

parent 8239aa84
No related branches found
No related tags found
No related merge requests found
......@@ -543,7 +543,7 @@ int MergePostProcessingFile(const std::string &fileName, bool showLastStep,
PView::list[i]->getOptions()->visible = 0;
}
}
else if(n != PView::list.size()){
else if(n < PView::list.size()){
// if we created new views, assume we only want to see those (and the
// onelab X-Y graphs)
for(unsigned int i = 0; i < n; i++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment