mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-13 03:08:57 -04:00
PEAK: Cut-n-paste, works, amazing !
This commit is contained in:
@@ -1478,6 +1478,9 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
||||
int peakHoldMode = peakHoldButton->getSelection();
|
||||
if (peakHoldButton->modeChanged()) {
|
||||
wxGetApp().getSpectrumProcessor()->setPeakHold(peakHoldMode == 1);
|
||||
|
||||
//make the peak hold act on the current dmod also, like a zoomed-in version.
|
||||
wxGetApp().getDemodSpectrumProcessor()->setPeakHold(peakHoldMode == 1);
|
||||
peakHoldButton->clearModeChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user