diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/config/Themes.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/config/Themes.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/cuchaz/enigma/config/Themes.java b/src/main/java/cuchaz/enigma/config/Themes.java index b3132f2..8a4c341 100644 --- a/src/main/java/cuchaz/enigma/config/Themes.java +++ b/src/main/java/cuchaz/enigma/config/Themes.java | |||
| @@ -33,9 +33,7 @@ public class Themes { | |||
| 33 | gui.obfuscatedHighlightPainter = new ObfuscatedHighlightPainter(); | 33 | gui.obfuscatedHighlightPainter = new ObfuscatedHighlightPainter(); |
| 34 | gui.deobfuscatedHighlightPainter = new DeobfuscatedHighlightPainter(); | 34 | gui.deobfuscatedHighlightPainter = new DeobfuscatedHighlightPainter(); |
| 35 | gui.otherHighlightPainter = new OtherHighlightPainter(); | 35 | gui.otherHighlightPainter = new OtherHighlightPainter(); |
| 36 | gui.editor.updateUI(); | 36 | gui.setEditorTheme(Config.getInstance().lookAndFeel); |
| 37 | gui.editor.setBackground(new Color(Config.getInstance().editorBackground)); | 37 | SwingUtilities.updateComponentTreeUI(gui.getFrame()); |
| 38 | SwingUtilities.updateComponentTreeUI(gui.getFrame()); | ||
| 39 | gui.getController().refreshCurrentClass(); | ||
| 40 | } | 38 | } |
| 41 | } | 39 | } |