| 139 | } |
| 140 | |
| 141 | void PropertyFieldPosition::setValue(std::string_view _value) |
| 142 | { |
| 143 | if (_value.empty()) |
| 144 | { |
| 145 | std::string DEFAULT_VALUE = replaceTags("ColourDefault") + DEFAULT_STRING; |
| 146 | |
| 147 | mField->setCaption(DEFAULT_VALUE); |
| 148 | } |
| 149 | else |
| 150 | { |
| 151 | mField->setOnlyText(MyGUI::UString(_value)); |
| 152 | onCheckValue(); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | void PropertyFieldPosition::setName(std::string_view _value) |
| 157 | { |
nothing calls this directly
no test coverage detected