diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/config/Themes.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/config/Themes.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/config/Themes.java b/src/main/java/cuchaz/enigma/config/Themes.java index 400ea3f..753654e 100644 --- a/src/main/java/cuchaz/enigma/config/Themes.java +++ b/src/main/java/cuchaz/enigma/config/Themes.java | |||
| @@ -19,8 +19,8 @@ public class Themes { | |||
| 19 | 19 | ||
| 20 | public static void updateTheme(Gui gui) { | 20 | public static void updateTheme(Gui gui) { |
| 21 | Config config = Config.getInstance(); | 21 | Config config = Config.getInstance(); |
| 22 | config.lookAndFeel.apply(config); | ||
| 23 | config.lookAndFeel.setGlobalLAF(); | 22 | config.lookAndFeel.setGlobalLAF(); |
| 23 | config.lookAndFeel.apply(config); | ||
| 24 | try { | 24 | try { |
| 25 | config.saveConfig(); | 25 | config.saveConfig(); |
| 26 | } catch (IOException e) { | 26 | } catch (IOException e) { |