mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 09:07:27 -05:00
Resolved #370 Tuner Editor Lock State
Resolves an issue with the previous implementation where the tuner editor was being refreshed repeatedly to update the lock state for the tuner, rendering the editor almost completely unusable. Now updates only the frequency control and the sample rate control to reflect the tuner's lock state.
This commit is contained in:
@@ -611,6 +611,12 @@ public class AirspyTunerEditor extends TunerConfigurationEditor
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTunerLockState(boolean locked)
|
||||
{
|
||||
mSampleRateCombo.setEnabled(!locked);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets all controls to the argument enabled state
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user