diff --git a/mainwindow.cpp b/mainwindow.cpp
index 225cd10f3..79f1dc01c 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -5889,6 +5889,17 @@ void MainWindow::on_actionErase_FoxQSO_txt_triggered()
if(ret==MessageBox::Yes) {
QFile f{m_config.writeable_data_dir().absoluteFilePath("FoxQSO.txt")};
f.remove();
+ ui->sbSerialNumber->setValue(1);
+ }
+}
+
+void MainWindow::on_actionErase_cabrillo_log_triggered()
+{
+ int ret = MessageBox::query_message(this, tr("Confirm Erase"),
+ tr("Are you sure you want to erase file cabrillo.log?"));
+ if(ret==MessageBox::Yes) {
+ QFile f{m_config.writeable_data_dir().absoluteFilePath("cabrillo.log")};
+ f.remove();
}
}
diff --git a/mainwindow.h b/mainwindow.h
index 727cf5dac..1bc71f72d 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -200,6 +200,7 @@ private slots:
void bumpFqso(int n);
void on_actionErase_ALL_TXT_triggered();
void on_actionErase_FoxQSO_txt_triggered();
+ void on_actionErase_cabrillo_log_triggered();
void on_actionErase_wsjtx_log_adi_triggered();
void startTx2();
void startP1();
diff --git a/mainwindow.ui b/mainwindow.ui
index a009c6c60..9d85918b3 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -1024,7 +1024,7 @@ QLabel[oob="true"] {
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
+
1
@@ -2620,6 +2620,7 @@ QPushButton[state="ok"] {
+
@@ -3292,6 +3293,11 @@ QPushButton[state="ok"] {
FT8 DXpedition Mode User Guide
+
+
+ Erase cabrillo.log
+
+