mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 09:37:36 -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()
|
public void refresh()
|
||||||
{
|
{
|
||||||
getModel().nodeChanged( this );
|
if( getModel() != null )
|
||||||
|
{
|
||||||
|
getModel().nodeChanged( this );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sort()
|
public void sort()
|
||||||
|
|||||||
Reference in New Issue
Block a user