Skip to content

Commit

Permalink
Scanner: use new spectrum view on flip
Browse files Browse the repository at this point in the history
Old view may no longer be valid after a flip, and spectrum size may have
changed.
  • Loading branch information
sultanqasim committed Jul 2, 2024
1 parent 10685aa commit a9528df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Panoramic/Scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ Scanner::setViewRange(SUFREQ freqMin, SUFREQ freqMax, bool noHop)
flip();
getSpectrumView().setRange(freqMin, freqMax);
getSpectrumView().feed(previous);
emit spectrumUpdated();
}

m_hopFreqMin = searchMin;
Expand Down

0 comments on commit a9528df

Please sign in to comment.