Fixed issue with tx queue when idle watchdog kicks in
This commit is contained in:
parent
239b02d927
commit
d722b8206c
@ -5694,10 +5694,6 @@ void MainWindow::enqueueMessage(int priority, QString message, int freq, Callbac
|
||||
);
|
||||
}
|
||||
|
||||
void MainWindow::enqueueHeartbeat(QString message){
|
||||
m_txHeartbeatQueue.enqueue(message);
|
||||
}
|
||||
|
||||
void MainWindow::resetMessage(){
|
||||
resetMessageUI();
|
||||
resetMessageTransmitQueue();
|
||||
@ -11446,6 +11442,9 @@ void MainWindow::tx_watchdog (bool triggered)
|
||||
|
||||
MessageBox::warning_message(this, QString("You have been inactive for more than %1 minutes.").arg(m_config.watchdog()));
|
||||
|
||||
// clear the tx queues
|
||||
resetMessageTransmitQueue();
|
||||
|
||||
// restore the button states
|
||||
ui->autoReplyButton->setChecked(wasAuto);
|
||||
ui->hbMacroButton->setChecked(wasHB);
|
||||
|
@ -149,7 +149,6 @@ public slots:
|
||||
void prependMessageText(QString text);
|
||||
void addMessageText(QString text, bool clear=false, bool selectFirstPlaceholder=false);
|
||||
void enqueueMessage(int priority, QString message, int freq, Callback c);
|
||||
void enqueueHeartbeat(QString message);
|
||||
void resetMessage();
|
||||
void resetMessageUI();
|
||||
void restoreMessage();
|
||||
|
1013
mainwindow.h.autosave
Normal file
1013
mainwindow.h.autosave
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user