Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2020-10-02 00:20:41 +0000
committerDonald Dunne2020-10-02 03:41:04 +0000
commit38a904bd98ceeff160a84e87ccb0fe574d3074d9 (patch)
tree2106c7305e90a4f68bd918082331ee3c10acc264
parent4e1f43c23c00240417a477a9ec7e5d7fc03b133d (diff)
downloadorg.eclipse.osee-rbrooks/0.26.1.tar.gz
org.eclipse.osee-rbrooks/0.26.1.tar.xz
org.eclipse.osee-rbrooks/0.26.1.zip
bug[TW18058]: Fix Unhandled Exception when changing PriorityOSEE_0.26.1_NR_202010142344rbrooks/0.26.1
-rw-r--r--plugins/org.eclipse.osee.ats.ide/src/org/eclipse/osee/ats/ide/column/PriorityColumnUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.ide/src/org/eclipse/osee/ats/ide/column/PriorityColumnUI.java b/plugins/org.eclipse.osee.ats.ide/src/org/eclipse/osee/ats/ide/column/PriorityColumnUI.java
index 81306d31196..f4df03ce30c 100644
--- a/plugins/org.eclipse.osee.ats.ide/src/org/eclipse/osee/ats/ide/column/PriorityColumnUI.java
+++ b/plugins/org.eclipse.osee.ats.ide/src/org/eclipse/osee/ats/ide/column/PriorityColumnUI.java
@@ -50,7 +50,6 @@ public class PriorityColumnUI extends XViewerAtsAttributeValueColumn {
public static PriorityColumnUI instance = null;
private final AtsAttributeValueColumn colToken;
private final AttributeTypeEnum<?> attrToken;
- private Artifact artifact;
public static PriorityColumnUI getInstance() {
if (instance == null) {
@@ -107,6 +106,7 @@ public class PriorityColumnUI extends XViewerAtsAttributeValueColumn {
public boolean handleAltLeftClick(TreeColumn treeColumn, TreeItem treeItem) {
try {
// Only prompt change for sole attribute types
+ Artifact artifact = (Artifact) treeItem.getData();
if (artifact.getArtifactType().getMax(getAttributeType()) != 1) {
return false;
}

Back to the top