mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Don't allow reading a .wav file while decoder is busy.
This commit is contained in:
parent
5693be1ee1
commit
bc8173a395
@ -2704,8 +2704,8 @@ void MainWindow::read_wav_file (QString const& fname)
|
|||||||
|
|
||||||
void MainWindow::on_actionOpen_next_in_directory_triggered() //Open Next
|
void MainWindow::on_actionOpen_next_in_directory_triggered() //Open Next
|
||||||
{
|
{
|
||||||
|
if(m_decoderBusy) return;
|
||||||
monitor (false);
|
monitor (false);
|
||||||
|
|
||||||
int i,len;
|
int i,len;
|
||||||
QFileInfo fi(m_path);
|
QFileInfo fi(m_path);
|
||||||
QStringList list;
|
QStringList list;
|
||||||
@ -2733,6 +2733,7 @@ void MainWindow::on_actionOpen_next_in_directory_triggered() //Open Next
|
|||||||
//Open all remaining files
|
//Open all remaining files
|
||||||
void MainWindow::on_actionDecode_remaining_files_in_directory_triggered()
|
void MainWindow::on_actionDecode_remaining_files_in_directory_triggered()
|
||||||
{
|
{
|
||||||
|
if(m_decoderBusy) return;
|
||||||
m_loopall=true;
|
m_loopall=true;
|
||||||
on_actionOpen_next_in_directory_triggered();
|
on_actionOpen_next_in_directory_triggered();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user