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:
21ff98b
)
JAL-1768 set initial 'enabled' state for id width label as well
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 2 Sep 2015 15:31:43 +0000
(16:31 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 2 Sep 2015 15:31:43 +0000
(16:31 +0100)
src/jalview/gui/Preferences.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Preferences.java
b/src/jalview/gui/Preferences.java
index
eadf6ad
..
88f5df3
100755
(executable)
--- a/
src/jalview/gui/Preferences.java
+++ b/
src/jalview/gui/Preferences.java
@@
-354,7
+354,7
@@
public class Preferences extends GPreferences
"Prompt each time"));
autoIdWidth.setSelected(Cache.getDefault("FIGURE_AUTOIDWIDTH", false));
userIdWidth.setEnabled(!autoIdWidth.isSelected());
- userIdWidthlabel.setEnabled(autoIdWidth.isSelected());
+ userIdWidthlabel.setEnabled(!autoIdWidth.isSelected());
Integer wi = Cache.getIntegerProperty("FIGURE_USERIDWIDTH");
userIdWidth.setText(wi == null ? "" : wi.toString());
blcjv.setSelected(Cache.getDefault("BLC_JVSUFFIX", true));