mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 09:37:36 -05:00
wip #34: refactored tuners to take a tuner controller as an argument.
Removed frequency change listener framework from tuner so that the tuner controller handles all frequency change interaction. Updated tuner view to allow selecting tuners for main spectral display and/or launching a new spectral display by clicking in the tuner table cell.
This commit is contained in:
@@ -73,7 +73,7 @@ public class FCD1TunerEditorPanel extends JPanel implements IFrequencyChangeProc
|
||||
/* Add frequency control as listener to tuner to get frequency changes
|
||||
* that are invoked elsewhere, to keep the control in sync with the
|
||||
* frequency */
|
||||
mTuner.addFrequencyChangeProcessor( mFrequencyControl );
|
||||
mTuner.getController().addListener( mFrequencyControl );
|
||||
|
||||
mFrequencyControl.setFrequency( mController.getFrequency(), false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user