Resolves issue #12. BaseNode was referencing a null model. Added null check to prevent null pointer exception.

This commit is contained in:
dennis.sheirer
2014-10-26 23:50:31 +00:00
parent 330fa53338
commit 338c37af4d

View File

@@ -158,7 +158,10 @@ public class BaseNode extends DefaultMutableTreeNode
public void refresh()
{
getModel().nodeChanged( this );
if( getModel() != null )
{
getModel().nodeChanged( this );
}
}
public void sort()