MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / on_accept

Method on_accept

DSView/pv/dialogs/decoderoptionsdlg.cpp:523–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void DecoderOptionsDlg::on_accept()
524{
525 if (_cursor1 > 0 && _cursor1 == _cursor2){
526 MsgBox::Show(L_S(STR_PAGE_MSG, S_ID(IDS_MSG_ERROR), "error"),
527 L_S(STR_PAGE_MSG, S_ID(IDS_MSG_DECODE_INVAILD_CURSOR), "Invalid cursor index for sample range!"));
528 return;
529 }
530
531 this->accept();
532}
533
534void DecoderOptionsDlg::on_trans_pramas()
535{

Callers

nothing calls this directly

Calls 2

ShowFunction · 0.85
acceptMethod · 0.45

Tested by

no test coverage detected