mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Adds null checking to channel state panel.
This commit is contained in:
@@ -202,7 +202,7 @@ public class ChannelStatePanel extends JPanel
|
|||||||
switch( changedAttribute )
|
switch( changedAttribute )
|
||||||
{
|
{
|
||||||
case CHANNEL_STATE:
|
case CHANNEL_STATE:
|
||||||
if( state.getState() != null )
|
if( state != null && state.getState() != null )
|
||||||
{
|
{
|
||||||
mStateLabel.setText( state.getState().getDisplayValue() );
|
mStateLabel.setText( state.getState().getDisplayValue() );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user