| 294 | } |
| 295 | |
| 296 | void VariableSelection::SetVariable(const std::string &variable) |
| 297 | { |
| 298 | if (!!GetVariableByName(variable)) { |
| 299 | SetItem(variable); |
| 300 | } else { |
| 301 | SetItem(""); |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | void VariableSelection::SetVariable(const std::weak_ptr<Variable> &variable_) |
| 306 | { |
no test coverage detected