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

fix for ReadOnly

parent 63562a9b
No related branches found
No related tags found
No related merge requests found
......@@ -716,7 +716,8 @@ void Msg::ExchangeOnelabParameter(const std::string &key,
bool noRange = true, noChoices = true, noLoop = true;
bool noGraph = true, noClosed = true;
if(ps.size()){
val[0] = ps[0].getValue(); // always use value from server
if(!ps[0].getReadOnly())
val[0] = ps[0].getValue(); // use value from server
// keep track of these attributes, which can be changed server-side
if(ps[0].getMin() != -onelab::parameter::maxNumber() ||
ps[0].getMax() != onelab::parameter::maxNumber() ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment