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
Jalview 2.6 source licence
[jalview.git]
/
src
/
jalview
/
gui
/
Preferences.java
diff --git
a/src/jalview/gui/Preferences.java
b/src/jalview/gui/Preferences.java
index
2c15df4
..
c9c5f6d
100755
(executable)
--- a/
src/jalview/gui/Preferences.java
+++ b/
src/jalview/gui/Preferences.java
@@
-1,5
+1,5
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
* Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
* Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
@@
-138,7
+138,7
@@
public class Preferences extends GPreferences
showDbRefTooltip.setSelected(Cache.getDefault("SHOW_DBREFS_TOOLTIP",
true));
showDbRefTooltip.setSelected(Cache.getDefault("SHOW_DBREFS_TOOLTIP",
true));
- for (int i = 0; i < 13; i++)
+ for (int i = ColourSchemeProperty.FIRST_COLOUR; i <= ColourSchemeProperty.LAST_COLOUR; i++)
{
colour.addItem(ColourSchemeProperty.getColourName(i));
}
{
colour.addItem(ColourSchemeProperty.getColourName(i));
}
@@
-447,7
+447,7
@@
public class Preferences extends GPreferences
.toString(padGaps.isSelected()));
dasSource.saveProperties(Cache.applicationProperties);
.toString(padGaps.isSelected()));
dasSource.saveProperties(Cache.applicationProperties);
- wsPrefs.updateWsMenuConfig(false);
+ wsPrefs.updateAndRefreshWsMenuConfig(false);
Cache.saveProperties();
try
{
Cache.saveProperties();
try
{