diff options
author | donald.g.dunne | 2017-08-30 00:02:33 +0000 |
---|---|---|
committer | Megumi Telles | 2017-08-30 17:34:59 +0000 |
commit | 7bafa3e79d47e9c5e2db6bedc43b401116c3d303 (patch) | |
tree | 54f7f967b8ca4bd9b27a45d69dbb0956de2b58a9 | |
parent | 55b1e283ec5157abe0b739ee4f1913d1dcc59270 (diff) | |
download | org.eclipse.osee-7bafa3e79d47e9c5e2db6bedc43b401116c3d303.tar.gz org.eclipse.osee-7bafa3e79d47e9c5e2db6bedc43b401116c3d303.tar.xz org.eclipse.osee-7bafa3e79d47e9c5e2db6bedc43b401116c3d303.zip |
bug[ats_TW1856]: XWorkingBranchLabel showing SENTINEL when no branch
Change-Id: Ie90d11ee0f71c9aa1567a5224d1b205a24452a30
-rw-r--r-- | plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranchLabel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranchLabel.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranchLabel.java index 95768fe0f2b..7afafd83907 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranchLabel.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranchLabel.java @@ -64,7 +64,7 @@ public class XWorkingBranchLabel extends XWorkingBranchWidgetAbstract { if (labelWidget != null && Widgets.isAccessible(labelWidget) && !getLabel().equals("")) { IOseeBranch workBranch = getWorkingBranch(); String labelStr = - getLabel() + ": " + getStatus().getDisplayName() + (workBranch != null ? " - " + workBranch.getShortName() : ""); + getLabel() + ": " + getStatus().getDisplayName() + (workBranch != null && workBranch.isValid() ? " - " + workBranch.getShortName() : ""); labelWidget.setText(labelStr); if (getToolTip() != null) { labelWidget.setToolTipText(getToolTip()); |