git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cda264e
)
JAL-591 show choice list with a single option
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 10 May 2018 12:33:25 +0000
(13:33 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 10 May 2018 12:33:25 +0000
(13:33 +0100)
src/jalview/gui/OptsAndParamsPage.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/OptsAndParamsPage.java
b/src/jalview/gui/OptsAndParamsPage.java
index
39b8ed5
..
5ef7169
100644
(file)
--- a/
src/jalview/gui/OptsAndParamsPage.java
+++ b/
src/jalview/gui/OptsAndParamsPage.java
@@
-386,7
+386,7
@@
public class OptsAndParamsPage
List<String> possibleValues = parameter.getPossibleValues();
isChoiceParameter = possibleValues != null
- && possibleValues.size() > 1;
+ && !possibleValues.isEmpty();
if (compact)
{