Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2017-08-30 00:02:33 +0000
committerMegumi Telles2017-08-30 17:34:59 +0000
commit7bafa3e79d47e9c5e2db6bedc43b401116c3d303 (patch)
tree54f7f967b8ca4bd9b27a45d69dbb0956de2b58a9
parent55b1e283ec5157abe0b739ee4f1913d1dcc59270 (diff)
downloadorg.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
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/XWorkingBranchLabel.java2
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());

Back to the top