diff --git a/mainwindow.cpp b/mainwindow.cpp
index 9c367e1..b1b7186 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -2346,6 +2346,29 @@ void rebuildMacQAction(QMenu *menu, QAction *existingAction){
menu->removeAction(dummyAction);
}
+void MainWindow::on_menuControl_aboutToShow(){
+ ui->actionEnable_Spotting->setChecked(ui->spotButton->isChecked());
+ ui->actionEnable_Auto_Reply->setChecked(ui->autoReplyButton->isChecked());
+ ui->actionEnable_Heartbeat->setChecked(ui->heartbeatButton->isChecked());
+ ui->actionEnable_Selcall->setChecked(ui->selcalButton->isChecked());
+}
+
+void MainWindow::on_actionEnable_Spotting_toggled(bool checked){
+ ui->spotButton->setChecked(checked);
+}
+
+void MainWindow::on_actionEnable_Auto_Reply_toggled(bool checked){
+ ui->autoReplyButton->setChecked(checked);
+}
+
+void MainWindow::on_actionEnable_Heartbeat_toggled(bool checked){
+ ui->heartbeatButton->setChecked(checked);
+}
+
+void MainWindow::on_actionEnable_Selcall_toggled(bool checked){
+ ui->selcalButton->setChecked(checked);
+}
+
void MainWindow::on_menuWindow_aboutToShow(){
auto hsizes = ui->textHorizontalSplitter->sizes();
ui->actionShow_Band_Activity->setChecked(hsizes.at(0) > 0);
@@ -7364,7 +7387,6 @@ void MainWindow::resetPushButtonToggleText(QPushButton *btn){
}
btn->setStyleSheet(style);
-
#if PUSH_BUTTON_CHECKMARK
auto on = "✓ ";
auto text = btn->text();
diff --git a/mainwindow.h b/mainwindow.h
index 8b9c95a..49039e0 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -171,6 +171,11 @@ private slots:
void on_tx4_editingFinished();
void on_tx5_currentTextChanged (QString const&);
void on_tx6_editingFinished();
+ void on_menuControl_aboutToShow();
+ void on_actionEnable_Spotting_toggled(bool checked);
+ void on_actionEnable_Auto_Reply_toggled(bool checked);
+ void on_actionEnable_Heartbeat_toggled(bool checked);
+ void on_actionEnable_Selcall_toggled(bool checked);
void on_menuWindow_aboutToShow();
void on_actionShow_Frequency_Clock_triggered(bool checked);
void on_actionShow_Band_Activity_triggered(bool checked);
diff --git a/mainwindow.ui b/mainwindow.ui
index 56ebf7c..bad4184 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -4751,12 +4751,22 @@ list. The list can be maintained in Settings (F2).
+
+
@@ -5559,6 +5569,38 @@ list. The list can be maintained in Settings (F2).
Show Tooltips
+
+
+ true
+
+
+ Enable Spotting
+
+
+
+
+ true
+
+
+ Enable Heartbeat
+
+
+
+
+ true
+
+
+ Enable Auto Reply
+
+
+
+
+ true
+
+
+ Enable Selective Calling
+
+