mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-24 22:25:17 -04:00
Correct the actions taken when clearing decodes windows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8091 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e7be718b8d
commit
bca21c0560
@ -550,6 +550,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
SLOT(doubleClickOnCall(bool,bool)));
|
SLOT(doubleClickOnCall(bool,bool)));
|
||||||
connect(ui->decodedTextBrowser,SIGNAL(selectCallsign(bool,bool)),this,
|
connect(ui->decodedTextBrowser,SIGNAL(selectCallsign(bool,bool)),this,
|
||||||
SLOT(doubleClickOnCall2(bool,bool)));
|
SLOT(doubleClickOnCall2(bool,bool)));
|
||||||
|
connect (ui->decodedTextBrowser, &DisplayText::erased, this, &MainWindow::band_activity_cleared);
|
||||||
connect (ui->decodedTextBrowser2, &DisplayText::erased, this, &MainWindow::rx_frequency_activity_cleared);
|
connect (ui->decodedTextBrowser2, &DisplayText::erased, this, &MainWindow::rx_frequency_activity_cleared);
|
||||||
|
|
||||||
// initialize decoded text font and hook up font change signals
|
// initialize decoded text font and hook up font change signals
|
||||||
@ -2912,12 +2913,16 @@ void MainWindow::on_EraseButton_clicked ()
|
|||||||
m_msErase=ms;
|
m_msErase=ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::rx_frequency_activity_cleared ()
|
void MainWindow::band_activity_cleared ()
|
||||||
{
|
{
|
||||||
m_QSOText.clear();
|
|
||||||
m_messageClient->clear_decodes ();
|
m_messageClient->clear_decodes ();
|
||||||
QFile f(m_config.temp_dir ().absoluteFilePath ("decoded.txt"));
|
QFile f(m_config.temp_dir ().absoluteFilePath ("decoded.txt"));
|
||||||
if(f.exists()) f.remove();
|
if(f.exists()) f.remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::rx_frequency_activity_cleared ()
|
||||||
|
{
|
||||||
|
m_QSOText.clear();
|
||||||
set_dateTimeQSO(-1); // G4WJS: why do we do this?
|
set_dateTimeQSO(-1); // G4WJS: why do we do this?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,6 +153,7 @@ private slots:
|
|||||||
void decode();
|
void decode();
|
||||||
void decodeBusy(bool b);
|
void decodeBusy(bool b);
|
||||||
void on_EraseButton_clicked();
|
void on_EraseButton_clicked();
|
||||||
|
void band_activity_cleared ();
|
||||||
void rx_frequency_activity_cleared ();
|
void rx_frequency_activity_cleared ();
|
||||||
void on_txFirstCheckBox_stateChanged(int arg1);
|
void on_txFirstCheckBox_stateChanged(int arg1);
|
||||||
void set_dateTimeQSO(int m_ntx);
|
void set_dateTimeQSO(int m_ntx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user