From 321a4bfba197495719107afa9e2c76979368e56c Mon Sep 17 00:00:00 2001 From: joroto Date: Tue, 19 Nov 2024 20:57:09 +0300 Subject: [PATCH] App does not open set to most recently used language. --- src/main/java/com/rarchives/ripme/ui/MainWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ui/MainWindow.java b/src/main/java/com/rarchives/ripme/ui/MainWindow.java index 8b547d7d..030eaedb 100644 --- a/src/main/java/com/rarchives/ripme/ui/MainWindow.java +++ b/src/main/java/com/rarchives/ripme/ui/MainWindow.java @@ -570,7 +570,7 @@ public final class MainWindow implements Runnable, RipStatusHandler { configLogLevelCombobox = new JComboBox<>( new String[] { "Log level: Error", "Log level: Warn", "Log level: Info", "Log level: Debug" }); configSelectLangComboBox = new JComboBox<>(Utils.getSupportedLanguages()); - configSelectLangComboBox.setSelectedItem(Utils.getSelectedLanguage()); + configSelectLangComboBox.setSelectedItem(Utils.getConfigString("lang", Utils.getSelectedLanguage())); configLogLevelCombobox.setSelectedItem(Utils.getConfigString("log.level", "Log level: Debug")); setLogLevel(configLogLevelCombobox.getSelectedItem().toString()); configSaveDirLabel = new JLabel();