Fixed errors caused by preparing the merge into develop

This commit is contained in:
2019-12-20 12:36:53 +01:00
parent e8d15be940
commit 02baf70d92
3 changed files with 12 additions and 22 deletions

View File

@ -170,7 +170,7 @@ public class ChatWindow extends JFrame {
settingsButton.addActionListener((evt) -> {
try {
new SettingsScreen().setVisible(true);
changeChatWindowColors(Settings.getInstance().getCurrentTheme());
changeChatWindowColors(Settings.getInstance().getThemes().get(Settings.getInstance().getCurrentTheme()));
} catch (Exception e) {
logger.log(Level.WARNING, "An error occured while opening the settings screen", e);
e.printStackTrace();