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

Method UpdateEntryData

plugins/base/macro-condition-window.cpp:452–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452void MacroConditionWindowEdit::UpdateEntryData()
453{
454 if (!_entryData) {
455 return;
456 }
457
458 _windowSelection->setCurrentText(
459 _entryData->_window.UnresolvedValue().c_str());
460 _windowRegex->SetRegexConfig(_entryData->_windowRegex);
461 _checkTitle->setChecked(_entryData->_checkTitle);
462 _fullscreen->setChecked(_entryData->_fullscreen);
463 _maximized->setChecked(_entryData->_maximized);
464 _focused->setChecked(_entryData->_focus);
465 _windowFocusChanged->setChecked(_entryData->_windowFocusChanged);
466 _checkText->setChecked(_entryData->GetCheckText());
467 _text->setPlainText(_entryData->_text);
468 _textRegex->SetRegexConfig(_entryData->_textRegex);
469 SetWidgetVisibility();
470}
471
472} // namespace advss

Callers

nothing calls this directly

Calls 6

setCurrentTextMethod · 0.80
SetRegexConfigMethod · 0.80
setCheckedMethod · 0.80
GetCheckTextMethod · 0.80
setPlainTextMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected