| 290 | } |
| 291 | |
| 292 | void MacroActionProjectorEdit::UpdateEntryData() |
| 293 | { |
| 294 | if (!_entryData) { |
| 295 | return; |
| 296 | } |
| 297 | |
| 298 | _actions->setCurrentIndex(static_cast<int>(_entryData->_action)); |
| 299 | _windowTypes->setCurrentIndex(_entryData->_fullscreen ? 1 : 0); |
| 300 | _types->setCurrentIndex(static_cast<int>(_entryData->_type)); |
| 301 | _scenes->SetScene(_entryData->_scene); |
| 302 | _sources->SetSource(_entryData->_source); |
| 303 | _monitors->setCurrentIndex(_entryData->GetMonitor()); |
| 304 | _projectorWindowName->setText(_entryData->_projectorWindowName); |
| 305 | _regex->SetRegexConfig(_entryData->_regex); |
| 306 | SetWidgetVisibility(); |
| 307 | } |
| 308 | |
| 309 | void MacroActionProjectorEdit::SceneChanged(const SceneSelection &s) |
| 310 | { |
nothing calls this directly
no test coverage detected