mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-17 02:57:35 -05:00
Resolved issue with duplicate properties saves
This commit is contained in:
@@ -493,11 +493,6 @@ public class ProcessingChain implements IChannelEventListener
|
|||||||
mLog.error( "Error starting module", e );
|
mLog.error( "Error starting module", e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for( Listener<RealBuffer> listener: mUnFilteredRealBufferBroadcaster.getListeners() )
|
|
||||||
{
|
|
||||||
mLog.debug( "*** Listener:" + listener.getClass() );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -87,8 +87,8 @@ public class SystemProperties
|
|||||||
|
|
||||||
mProperties.store( out, comments );
|
mProperties.store( out, comments );
|
||||||
|
|
||||||
mLog.info( "SystemProperties - saved current properties [" +
|
// mLog.info( "SystemProperties - saved current properties [" +
|
||||||
propsPath.toString() + "]" );
|
// propsPath.toString() + "]" );
|
||||||
}
|
}
|
||||||
catch( Exception e )
|
catch( Exception e )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -186,7 +186,6 @@ public class DFTProcessor implements Listener<ComplexBuffer>,
|
|||||||
SystemProperties properties = SystemProperties.getInstance();
|
SystemProperties properties = SystemProperties.getInstance();
|
||||||
|
|
||||||
properties.set( FRAME_RATE_PROPERTY, String.valueOf( mFrameRate ) );
|
properties.set( FRAME_RATE_PROPERTY, String.valueOf( mFrameRate ) );
|
||||||
properties.save();
|
|
||||||
|
|
||||||
calculateConsumptionRate();
|
calculateConsumptionRate();
|
||||||
|
|
||||||
|
|||||||
@@ -235,7 +235,6 @@ public class SpectralDisplayPanel extends JPanel
|
|||||||
SystemProperties properties = SystemProperties.getInstance();
|
SystemProperties properties = SystemProperties.getInstance();
|
||||||
|
|
||||||
properties.set( FFT_SIZE_PROPERTY, size.name() );
|
properties.set( FFT_SIZE_PROPERTY, size.name() );
|
||||||
properties.save();
|
|
||||||
|
|
||||||
setZoom( 0, 0, 0 );
|
setZoom( 0, 0, 0 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user