diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index b5e70c7be60e6e4d2e6475241be88ca2830ba957..8401cd70a045c81bf01f99d9d51449309b17d90c 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -684,7 +684,7 @@ void Msg::ExchangeOnelabParameter(const std::string &key, if(copt.count("ShortHelp")) ps[0].setLabel(copt["ShortHelp"][0]); if(noLoop && copt.count("Loop")) ps[0].setAttribute("Loop", copt["Loop"][0]); if(noGraph && copt.count("Graph")) ps[0].setAttribute("Graph", copt["Graph"][0]); - if(copt.count("Hightlight")) ps[0].setAttribute("Highlight", copt["Hightlight"][0]); + if(copt.count("Highlight")) ps[0].setAttribute("Highlight", copt["Highlight"][0]); _onelabClient->set(ps[0]); #endif } diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index 1031a588739d610abd4f1c1cf5ec10d65bba4b9a..104784d21b0d034b71c923442e559c753f8b547f 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -658,7 +658,7 @@ static void importPhysicalGroups(onelab::client *c, GModel *m) (dim == 1) ? "Line" : "Point") + num.str(); onelab::region p(name, num.str()); p.setDimension(dim); - p.setAttribute("ReadOnly", "Yes"); + p.setReadOnly(true); c->set(p); } }