git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2808 don't capture or report min-max for mixed text/numeric attribute
[jalview.git]
/
src
/
jalview
/
gui
/
FeatureTypeSettings.java
diff --git
a/src/jalview/gui/FeatureTypeSettings.java
b/src/jalview/gui/FeatureTypeSettings.java
index
89c693f
..
e13f6ee
100644
(file)
--- a/
src/jalview/gui/FeatureTypeSettings.java
+++ b/
src/jalview/gui/FeatureTypeSettings.java
@@
-1551,7
+1551,7
@@
public class FeatureTypeSettings extends JalviewDialog
condCombo.removeAllItems();
for (Condition c : Condition.values())
{
condCombo.removeAllItems();
for (Condition c : Condition.values())
{
- if ((c.isNumeric() && type != Datatype.Character)
+ if ((c.isNumeric() && type == Datatype.Number)
|| (!c.isNumeric() && type != Datatype.Number))
{
condCombo.addItem(c);
|| (!c.isNumeric() && type != Datatype.Number))
{
condCombo.addItem(c);