mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-09 15:17:24 -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 )
|
||||
{
|
||||
case CHANNEL_STATE:
|
||||
if( state.getState() != null )
|
||||
if( state != null && state.getState() != null )
|
||||
{
|
||||
mStateLabel.setText( state.getState().getDisplayValue() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user