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

Method UpdateEntryData

plugins/base/macro-condition-folder.cpp:328–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void MacroConditionFolderEdit::UpdateEntryData()
329{
330 if (!_entryData) {
331 return;
332 }
333
334 _conditions->setCurrentIndex(_conditions->findData(
335 static_cast<int>(_entryData->_condition)));
336 _folder->SetPath(_entryData->GetFolder());
337 _enableFilter->setChecked(_entryData->_enableFilter);
338 _regex->SetRegexConfig(_entryData->_regex);
339 _filter->setText(_entryData->_filter);
340
341 SetWidgetVisibility();
342}
343
344void MacroConditionFolderEdit::ConditionChanged(int index)
345{

Callers

nothing calls this directly

Calls 5

GetFolderMethod · 0.80
setCheckedMethod · 0.80
SetRegexConfigMethod · 0.80
setTextMethod · 0.80
SetPathMethod · 0.45

Tested by

no test coverage detected