MCPcopy Create free account
hub / github.com/begla/Intrinsic / onValueChanged

Method onValueChanged

IntrinsicEd/src/IntrinsicEdPropertyEditorString.cpp:59–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void IntrinsicEdPropertyEditorString::onValueChanged()
60{
61 _INTR_ASSERT(_property);
62 rapidjson::Value& prop = *_property;
63
64 if (_ui.value->text().toStdString().c_str() != prop["value"])
65 {
66 prop["value"].SetString(_ui.value->text().toStdString().c_str(),
67 _document->GetAllocator());
68
69 emit valueChanged(*_properties);
70 }
71}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected