From 7ca01d03af6dc567b687bd8e5b89ffc39c73deec Mon Sep 17 00:00:00 2001 From: weisj Date: Tue, 1 Dec 2020 19:10:11 +0100 Subject: [PATCH] Make ThemeSettingsPanel#loadConfiguration public. --- .../com/github/weisj/darklaf/settings/ThemeSettingsPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsPanel.java b/core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsPanel.java index f65fd79e..9ecc1311 100644 --- a/core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsPanel.java +++ b/core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsPanel.java @@ -103,11 +103,10 @@ public class ThemeSettingsPanel extends JPanel { add(createMonitorSettings(), BorderLayout.SOUTH); } - protected void loadConfiguration(final SettingsConfiguration configuration) { + public void loadConfiguration(final SettingsConfiguration configuration) { themeComboBox.setModel(LafManager.getThemeComboBoxModel()); settingsConfiguration.load(configuration); settingsConfiguration.setAccentColorRule(settingsConfiguration.getAccentColorRule()); - update(); }