| 82 | } |
| 83 | |
| 84 | void PropertyFieldEditBox::setValue(std::string_view _value) |
| 85 | { |
| 86 | if (_value.empty()) |
| 87 | { |
| 88 | std::string DEFAULT_VALUE = replaceTags("ColourDefault") + DEFAULT_STRING; |
| 89 | |
| 90 | mField->setCaption(DEFAULT_VALUE); |
| 91 | } |
| 92 | else |
| 93 | { |
| 94 | mField->setOnlyText(MyGUI::UString(_value)); |
| 95 | onCheckValue(); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | void PropertyFieldEditBox::setName(std::string_view _value) |
| 100 | { |
nothing calls this directly
no test coverage detected