Browse Source

Remove static access on instance.

pull/214/head
weisj 4 years ago
parent
commit
ae7185b80c
  1. 4
      core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsMenuItem.java

4
core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsMenuItem.java

@ -21,15 +21,13 @@
*/
package com.github.weisj.darklaf.settings;
import java.awt.*;
import javax.swing.*;
public class ThemeSettingsMenuItem extends JMenuItem {
public ThemeSettingsMenuItem(final String text) {
super(text);
setIcon(ThemeSettings.getInstance().getIcon());
setIcon(ThemeSettings.getIcon());
addActionListener(e -> ThemeSettings.showSettingsDialog(this));
}
}

Loading…
Cancel
Save