mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Don't show tuner on spectral display while disabled (#1236)
This commit is contained in:
@@ -423,6 +423,11 @@ public class SpectralDisplayPanel extends JPanel
|
||||
public void showTuner(Tuner tuner)
|
||||
{
|
||||
clearTuner();
|
||||
if(!SystemProperties.getInstance().get(SpectralDisplayPanel.SPECTRAL_DISPLAY_ENABLED, true))
|
||||
{
|
||||
//Spectral display is disabled, stop
|
||||
return;
|
||||
}
|
||||
|
||||
mComplexDftProcessor.clearBuffer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user