Fixed beacon queue reset on beacon toggle

This commit is contained in:
Jordan Sherer 2018-10-09 15:03:30 -04:00
parent 3c8c80a5d7
commit ca79a450ca

View File

@ -7943,6 +7943,9 @@ void MainWindow::on_pbT2R_clicked()
void MainWindow::on_beaconButton_clicked()
{
if(ui->beaconButton->isChecked()){
// clear the beacon queue when you turn it on.
m_txBeaconQueue.clear();
// then schedule the next beacon
scheduleBeacon(true);
} else {
pauseBeacon();