Fixed bug with SNR report menu item

This commit is contained in:
Jordan Sherer 2018-08-29 22:17:14 -04:00
parent 95a91fb526
commit 2b62734437

View File

@ -7312,7 +7312,7 @@ void MainWindow::buildQueryMenu(QMenu * menu, QString call){
});
auto sendSNRAction = menu->addAction(QString("%1 SNR - Send a signal report to the selected callsign").arg(call).trimmed());
sendSNRAction->setEnabled(m_callActivity.contains(call));
sendSNRAction->setEnabled(m_callActivity.contains(callsignSelected()));
connect(sendSNRAction, &QAction::triggered, this, [this](){
QString selectedCall = callsignSelected();