| 574 | } |
| 575 | |
| 576 | void 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 | |
| 591 | void MacroActionSourceEdit::ActionChanged(int value) |
| 592 | { |
nothing calls this directly
no test coverage detected