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