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

openModule only if not manually closed

parent 634179ea
No related branches found
No related tags found
No related merge requests found
......@@ -945,5 +945,6 @@ void FlGui::rebuildTree()
void FlGui::openModule(const std::string &name)
{
onelab->openTreeItem("0Gmsh modules/" + name);
if(!onelab->isManuallyClosed("0Gmsh modules/" + name))
onelab->openTreeItem("0Gmsh modules/" + name);
}
......@@ -303,8 +303,7 @@ bool onelab::localNetworkClient::run()
drawContext::global()->draw();
if(n != PView::list.size()){
FlGui::instance()->rebuildTree();
if(!FlGui::instance()->onelab->isManuallyClosed("0Gmsh modules/Post-processing"))
FlGui::instance()->openModule("Post-processing");
FlGui::instance()->openModule("Post-processing");
}
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment