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

Method UpdateEntryData

plugins/base/macro-condition-file.cpp:271–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void MacroConditionFileEdit::UpdateEntryData()
272{
273 if (!_entryData) {
274 return;
275 }
276
277 _conditions->setCurrentIndex(
278 static_cast<int>(_entryData->GetCondition()));
279 _filePath->SetPath(_entryData->_file);
280 _matchText->setPlainText(_entryData->_text);
281 _regex->SetRegexConfig(_entryData->_regex);
282
283 SetWidgetVisibility();
284}
285
286void MacroConditionFileEdit::ConditionChanged(int index)
287{

Callers

nothing calls this directly

Calls 4

setPlainTextMethod · 0.80
SetRegexConfigMethod · 0.80
GetConditionMethod · 0.45
SetPathMethod · 0.45

Tested by

no test coverage detected