mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-01 14:22:27 -04:00
Don't attempt to decode if decoder is already busy, or if we transmitted for 10 s or more.
This commit is contained in:
parent
029977c619
commit
dd243da82a
@ -841,6 +841,10 @@ void MainWindow::freezeDecode(int n) //freezeDecode()
|
|||||||
|
|
||||||
void MainWindow::decode() //decode()
|
void MainWindow::decode() //decode()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
//Don't attempt to decode if decoder is already busy, or if we transmitted for 10 s or more.
|
||||||
|
if(m_decoderBusy or m_nTransmitted>10) return;
|
||||||
|
|
||||||
QString fname=" ";
|
QString fname=" ";
|
||||||
ui->DecodeButton->setStyleSheet(m_pbdecoding_style1);
|
ui->DecodeButton->setStyleSheet(m_pbdecoding_style1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user