| 288 | } |
| 289 | |
| 290 | void MacroActionWebsocketEdit::UpdateEntryData() |
| 291 | { |
| 292 | if (!_entryData) { |
| 293 | return; |
| 294 | } |
| 295 | |
| 296 | _apiType->setCurrentIndex(static_cast<int>(_entryData->_api)); |
| 297 | _messageType->setCurrentIndex(static_cast<int>(_entryData->_type)); |
| 298 | _message->setPlainText(_entryData->_message); |
| 299 | _connection->SetConnection(_entryData->_connection); |
| 300 | |
| 301 | SetWidgetVisibility(); |
| 302 | } |
| 303 | |
| 304 | void MacroActionWebsocketEdit::APITypeChanged(int index) |
| 305 | { |
nothing calls this directly
no test coverage detected