| 521 | } |
| 522 | |
| 523 | void 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 | |
| 534 | void DecoderOptionsDlg::on_trans_pramas() |
| 535 | { |