mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Resolves issue #12. BaseNode was referencing a null model. Added null check to prevent null pointer exception.
This commit is contained in:
@@ -158,7 +158,10 @@ public class BaseNode extends DefaultMutableTreeNode
|
||||
|
||||
public void refresh()
|
||||
{
|
||||
getModel().nodeChanged( this );
|
||||
if( getModel() != null )
|
||||
{
|
||||
getModel().nodeChanged( this );
|
||||
}
|
||||
}
|
||||
|
||||
public void sort()
|
||||
|
||||
Reference in New Issue
Block a user