Merge "Issue #2287 Fix yet another NullPointer in GFEColorBarResource" into omaha_13.5.2
Former-commit-id: 3034c7f8e4b61547abbb79134fb7fd1c059aab28
This commit is contained in:
commit
1de723239f
1 changed files with 2 additions and 1 deletions
|
@ -691,7 +691,8 @@ public class GFEColorbarResource extends
|
|||
updateColorbar(parm);
|
||||
} else if (message instanceof GridDataChangedMsg) {
|
||||
GridDataChangedMsg msg = (GridDataChangedMsg) message;
|
||||
if (msg.getParmID().equals(currentParm.getParmID())
|
||||
if (currentParm != null
|
||||
&& msg.getParmID().equals(currentParm.getParmID())
|
||||
&& msg.getTimeRange().contains(
|
||||
currentParm.getDataManager()
|
||||
.getSpatialDisplayManager()
|
||||
|
|
Loading…
Add table
Reference in a new issue