Fixed bug when right click on band activity would display incorrect callsign that was selected in the call activity
This commit is contained in:
parent
c5531a5177
commit
a5e1d0206b
@ -1103,6 +1103,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
connect(ui->tableWidgetRXAll, &QTableWidget::customContextMenuRequested, this, [this, clearAction3, clearActionAll, removeActivity, logAction](QPoint const &point){
|
||||
QMenu * menu = new QMenu(ui->tableWidgetRXAll);
|
||||
|
||||
// clear the selection of the call widget on right click
|
||||
ui->tableWidgetCalls->selectionModel()->clearSelection();
|
||||
|
||||
QString selectedCall = callsignSelected();
|
||||
bool missingCallsign = selectedCall.isEmpty();
|
||||
|
||||
@ -1164,6 +1167,8 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
connect(ui->tableWidgetCalls, &QTableWidget::customContextMenuRequested, this, [this, logAction, clearAction4, clearActionAll, removeStation](QPoint const &point){
|
||||
QMenu * menu = new QMenu(ui->tableWidgetCalls);
|
||||
|
||||
ui->tableWidgetRXAll->selectionModel()->clearSelection();
|
||||
|
||||
QString selectedCall = callsignSelected();
|
||||
bool isAllCall = isAllCallIncluded(selectedCall);
|
||||
bool missingCallsign = selectedCall.isEmpty();
|
||||
|
Loading…
Reference in New Issue
Block a user