From 9815c4dde9b8c45fdb5c19489bf952d91fc3e851 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 15 Aug 2018 22:31:01 -0400 Subject: [PATCH] API: Added RX.GET_CALL_SELECTED --- mainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 6da5dc7..c1eba03 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -9231,6 +9231,7 @@ void MainWindow::networkMessage(Message const &message) } // RX.GET_CALL_ACTIVITY + // RX.GET_CALL_SELECTED // RX.GET_BAND_ACTIVITY // RX.GET_TEXT @@ -9248,6 +9249,11 @@ void MainWindow::networkMessage(Message const &message) return; } + if(type == "RX.GET_CALL_SELECTED"){ + sendNetworkMessage("RX.CALL_SELECTED", callsignSelected()); + return; + } + if(type == "RX.GET_BAND_ACTIVITY"){ QMap offsets; foreach(auto offset, m_bandActivity.keys()){