Issue #2287 Fix null pointer in GFEColorBarResource
Change-Id: I477a7d5cc58e61b9d521337a94801114cecde62a Former-commit-id:8f8e041802
[formerly4e768e812d
[formerly add48ba3bbf77e6e7cbfa756e6da75c78aab6f0f]] Former-commit-id:4e768e812d
Former-commit-id:59c8dc4fae
This commit is contained in:
parent
1c7890b692
commit
48e53df2c2
1 changed files with 4 additions and 0 deletions
|
@ -707,6 +707,10 @@ public class GFEColorbarResource extends
|
|||
* continuous colorbar range.
|
||||
*/
|
||||
protected void checkFitToData() {
|
||||
if (currentParm == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
String parmName = currentParm.getParmID().getParmName();
|
||||
String fitToDataPref = parmName + "_fitToDataColorTable";
|
||||
if (GFEPreference.contains(fitToDataPref)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue