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

Method UpdateEntryData

plugins/base/macro-action-http-legacy.cpp:225–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void MacroActionHttpEdit::UpdateEntryData()
226{
227 if (!_entryData) {
228 return;
229 }
230
231 _url->setText(_entryData->_url);
232 _data->setPlainText(_entryData->_data);
233 _setHeaders->setChecked(_entryData->_setHeaders);
234 _headerList->SetStringList(_entryData->_headers);
235 _methods->setCurrentIndex(static_cast<int>(_entryData->_method));
236 _timeout->SetDuration(_entryData->_timeout);
237 SetWidgetVisibility();
238}
239
240void MacroActionHttpEdit::URLChanged()
241{

Callers

nothing calls this directly

Calls 5

setTextMethod · 0.80
setPlainTextMethod · 0.80
setCheckedMethod · 0.80
SetStringListMethod · 0.45
SetDurationMethod · 0.45

Tested by

no test coverage detected