mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Double-click on Erase button will now clear the Band Map and Messages windows.
This commit is contained in:
parent
51b0941b20
commit
0e07395f2b
@ -1460,11 +1460,17 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_EraseButton_clicked() //Erase
|
||||
void MainWindow::on_EraseButton_clicked()
|
||||
{
|
||||
qint64 ms=QDateTime::currentMSecsSinceEpoch();
|
||||
ui->decodedTextBrowser->clear();
|
||||
if((ms-m_msErase)<500) {
|
||||
on_actionErase_Band_Map_and_Messages_triggered();
|
||||
}
|
||||
m_msErase=ms;
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::decodeBusy(bool b) //decodeBusy()
|
||||
{
|
||||
m_decoderBusy=b;
|
||||
|
@ -140,6 +140,7 @@ private slots:
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
qint64 m_msErase;
|
||||
qint32 m_nDevIn;
|
||||
qint32 m_nDevOut;
|
||||
qint32 m_idInt;
|
||||
|
Loading…
Reference in New Issue
Block a user