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

Method SourceChanged

plugins/base/macro-action-source.cpp:576–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576void MacroActionSourceEdit::SourceChanged(const SourceSelection &source)
577{
578 {
579 GUARD_LOADING_AND_LOCK();
580 _entryData->_source = source;
581 }
582
583 const auto weakSource = _entryData->_source.GetSource();
584 _sourceSettings->SetSource(weakSource);
585 _settingsButtons->SetSource(weakSource);
586 SetWidgetVisibility();
587 emit HeaderInfoChanged(
588 QString::fromStdString(_entryData->GetShortDesc()));
589}
590
591void MacroActionSourceEdit::ActionChanged(int value)
592{

Callers

nothing calls this directly

Calls 3

GetSourceMethod · 0.45
SetSourceMethod · 0.45
GetShortDescMethod · 0.45

Tested by

no test coverage detected