Browse Source

Make ThemeSettingsPanel#loadConfiguration public.

pull/222/head
weisj 4 years ago
parent
commit
7ca01d03af
  1. 3
      core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsPanel.java

3
core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsPanel.java

@ -103,11 +103,10 @@ public class ThemeSettingsPanel extends JPanel {
add(createMonitorSettings(), BorderLayout.SOUTH); add(createMonitorSettings(), BorderLayout.SOUTH);
} }
protected void loadConfiguration(final SettingsConfiguration configuration) { public void loadConfiguration(final SettingsConfiguration configuration) {
themeComboBox.setModel(LafManager.getThemeComboBoxModel()); themeComboBox.setModel(LafManager.getThemeComboBoxModel());
settingsConfiguration.load(configuration); settingsConfiguration.load(configuration);
settingsConfiguration.setAccentColorRule(settingsConfiguration.getAccentColorRule()); settingsConfiguration.setAccentColorRule(settingsConfiguration.getAccentColorRule());
update(); update();
} }

Loading…
Cancel
Save