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:
ddcf4db
)
JAL-1911 use existing object when setting 'Prompt each time' selected
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 27 May 2016 14:06:46 +0000
(15:06 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 27 May 2016 14:06:46 +0000
(15:06 +0100)
src/jalview/gui/Preferences.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Preferences.java
b/src/jalview/gui/Preferences.java
index
117f103
..
afc93e0
100755
(executable)
--- a/
src/jalview/gui/Preferences.java
+++ b/
src/jalview/gui/Preferences.java
@@
-369,7
+369,6
@@
public class Preferences extends GPreferences
/*
* Set Output tab defaults
*/
-
epsRendering.addItem(promptEachTimeOpt);
epsRendering.addItem(lineArtOpt);
epsRendering.addItem(textOpt);
@@
-385,8
+384,7
@@
public class Preferences extends GPreferences
}
else
{
- epsRendering.setSelectedItem(new OptionsParam(MessageManager
- .getString("label.prompt_each_time"), "Prompt each time"));
+ epsRendering.setSelectedItem(promptEachTimeOpt);
}
autoIdWidth.setSelected(Cache.getDefault("FIGURE_AUTOIDWIDTH", false));
userIdWidth.setEnabled(!autoIdWidth.isSelected());