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:
24ba9e8
)
Preferences/StructureViewer fix
author
BobHanson
<hansonr@stolaf.edu>
Tue, 2 Jun 2020 21:04:47 +0000
(16:04 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Tue, 2 Jun 2020 21:04:47 +0000
(16:04 -0500)
src/jalview/gui/Preferences.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Preferences.java
b/src/jalview/gui/Preferences.java
index
55345e0
..
dc274e9
100755
(executable)
--- a/
src/jalview/gui/Preferences.java
+++ b/
src/jalview/gui/Preferences.java
@@
-807,8
+807,11
@@
public class Preferences extends GPreferences
Boolean.toString(useRnaView.isSelected()));
Cache.setPropertyNoSave(STRUCT_FROM_PDB,
Boolean.toString(structFromPdb.isSelected()));
+ if (!Platform.isJS())
+ {
Cache.setPropertyNoSave(STRUCTURE_DISPLAY,
structViewer.getSelectedItem().toString());
+ }
Cache.setOrRemove(CHIMERA_PATH, chimeraPath.getText());
Cache.setPropertyNoSave("MAP_WITH_SIFTS",
Boolean.toString(siftsMapping.isSelected()));