| 486 | } |
| 487 | |
| 488 | void MacroActionSceneTransformEdit::UpdateEntryData() |
| 489 | { |
| 490 | if (!_entryData) { |
| 491 | return; |
| 492 | } |
| 493 | |
| 494 | _scenes->SetScene(_entryData->_scene); |
| 495 | _sources->SetSceneItem(_entryData->_source); |
| 496 | _action->setCurrentIndex( |
| 497 | _action->findData(static_cast<int>(_entryData->_action))); |
| 498 | _rotation->SetValue(_entryData->_rotation); |
| 499 | _transformString->setPlainText(_entryData->_transformString); |
| 500 | UpdateSettingSelection(); |
| 501 | _settingSelection->SetSetting(_entryData->_settingSelection); |
| 502 | _singleSettingValue->setText(_entryData->_singleSettingsValue); |
| 503 | SetWidgetVisibility(); |
| 504 | } |
| 505 | |
| 506 | void MacroActionSceneTransformEdit::SceneChanged(const SceneSelection &s) |
| 507 | { |
nothing calls this directly
no test coverage detected