Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Jan 19, 2022
2 parents 427e785 + 63bd77e commit f470185
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@ private SummaryPanelSpecificationType mergeSummaryPanels(SummaryPanelSpecificati

private GuiFlexibleLabelType mergeSummaryPanelFlexibleLabel(GuiFlexibleLabelType defaultSummaryPanelIdentifier, GuiFlexibleLabelType compiledSummaryPanelIdentifier) {
if (compiledSummaryPanelIdentifier == null) {
return defaultSummaryPanelIdentifier.cloneWithoutId();
return defaultSummaryPanelIdentifier != null ? defaultSummaryPanelIdentifier.cloneWithoutId() : null;
}

GuiFlexibleLabelType mergedFlexibleLabel = defaultSummaryPanelIdentifier.cloneWithoutId();
GuiFlexibleLabelType mergedFlexibleLabel = defaultSummaryPanelIdentifier != null ?
defaultSummaryPanelIdentifier.cloneWithoutId() : new GuiFlexibleLabelType();
if (compiledSummaryPanelIdentifier.getVisibility() != null) {
mergedFlexibleLabel.setVisibility(compiledSummaryPanelIdentifier.getVisibility());
}
Expand Down

0 comments on commit f470185

Please sign in to comment.