MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / UpdateEntryData

Method UpdateEntryData

plugins/http/macro-condition-http.cpp:243–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void MacroConditionHttpEdit::UpdateEntryData()
244{
245 if (!_entryData) {
246 return;
247 }
248
249 _method->setCurrentIndex(
250 _method->findData(static_cast<int>(_entryData->_method)));
251 _server->SetServer(_entryData->GetServer());
252 _path->setText(_entryData->_path);
253 _pathRegex->SetRegexConfig(_entryData->_pathRegex);
254 _body->setPlainText(_entryData->_body);
255 _bodyRegex->SetRegexConfig(_entryData->_bodyRegex);
256 _clearBufferOnMatch->setChecked(_entryData->_clearBufferOnMatch);
257
258 adjustSize();
259 updateGeometry();
260}
261
262void MacroConditionHttpEdit::MethodChanged(int idx)
263{

Callers

nothing calls this directly

Calls 6

GetServerMethod · 0.80
setTextMethod · 0.80
SetRegexConfigMethod · 0.80
setPlainTextMethod · 0.80
setCheckedMethod · 0.80
SetServerMethod · 0.45

Tested by

no test coverage detected