| 329 | } |
| 330 | |
| 331 | void DsoTriggerDock::channel_changed(int ch) |
| 332 | { |
| 333 | (void)ch; |
| 334 | int ret; |
| 335 | |
| 336 | ret = _session->get_device()->set_config_byte( |
| 337 | SR_CONF_TRIGGER_CHANNEL, |
| 338 | int(_channel_comboBox->currentData().toInt())); |
| 339 | if (!ret) { |
| 340 | QString strMsg(L_S(STR_PAGE_MSG, S_ID(IDS_MSG_CHANGE_CHANNEL_FAIL), |
| 341 | "Change trigger channel failed!")); |
| 342 | MsgBox::Show(strMsg); |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | void DsoTriggerDock::type_changed() |
| 347 | { |
nothing calls this directly
no test coverage detected