mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Resolves issue with null pointer on alias list upon program startup.
This commit is contained in:
@@ -50,6 +50,11 @@ public class AliasDirectory
|
||||
public void setAliasList( ArrayList<AliasList> lists )
|
||||
{
|
||||
mAliasList = lists;
|
||||
|
||||
if( mAliasList == null )
|
||||
{
|
||||
mAliasList = new ArrayList<AliasList>();
|
||||
}
|
||||
}
|
||||
|
||||
public void addAliasList( AliasList list )
|
||||
|
||||
Reference in New Issue
Block a user