mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 08:31:57 -05:00
Require confirmation when Fox operator hits "Reset" button.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
62b8b6531e
commit
1b469eea4a
@ -7285,10 +7285,15 @@ void MainWindow::on_sbMax_dB_valueChanged(int n)
|
|||||||
|
|
||||||
void MainWindow::on_pbFoxReset_clicked()
|
void MainWindow::on_pbFoxReset_clicked()
|
||||||
{
|
{
|
||||||
|
auto button = MessageBox::query_message (this, tr ("Confirm Reset"),
|
||||||
|
tr ("Are you sure you want to clear the QSO queues?"));
|
||||||
|
if(button == MessageBox::Yes) {
|
||||||
ui->textBrowser4->setText("");
|
ui->textBrowser4->setText("");
|
||||||
m_houndQueue.clear();
|
m_houndQueue.clear();
|
||||||
// m_foxQSOinProgress.clear(); //It this a bad idea ???
|
m_foxQSO.clear();
|
||||||
|
m_foxQSOinProgress.clear(); //It this a bad idea ???
|
||||||
writeFoxQSO(" Reset");
|
writeFoxQSO(" Reset");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_comboBoxHoundSort_activated(int index)
|
void MainWindow::on_comboBoxHoundSort_activated(int index)
|
||||||
|
Loading…
Reference in New Issue
Block a user