| 320 | } |
| 321 | |
| 322 | void MacroActionPluginStateEdit::UpdateEntryData() |
| 323 | { |
| 324 | if (!_entryData) { |
| 325 | return; |
| 326 | } |
| 327 | _actions->setCurrentIndex(static_cast<int>(_entryData->_action)); |
| 328 | populateValueSelection(_values, _entryData->_action); |
| 329 | _values->setCurrentIndex(_entryData->_value); |
| 330 | _scenes->setCurrentText(GetWeakSourceName(_entryData->_scene).c_str()); |
| 331 | _settings->SetPath(_entryData->_settingsPath); |
| 332 | _confirmShutdown->setChecked(_entryData->_confirmShutdown); |
| 333 | SetWidgetVisibility(); |
| 334 | } |
| 335 | |
| 336 | void MacroActionPluginStateEdit::ActionChanged(int value) |
| 337 | { |
nothing calls this directly
no test coverage detected