Use new dialFrequency function for grabbing the current rig frequency

This commit is contained in:
Jordan Sherer 2018-08-09 23:07:58 -04:00
parent 0353724f1a
commit 935708dd5e

View File

@ -1312,8 +1312,7 @@ void MainWindow::tryBandHop(){
}
// get the current band
Frequency dialFreq {m_rigState.ptt () && m_rigState.split () ?
m_rigState.tx_frequency () : m_rigState.frequency ()};
auto dialFreq = dialFrequency();
auto currentBand = m_config.bands()->find(dialFreq);