From a06cacb46222e662598db090d2712195670a45c5 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Fri, 28 Feb 2020 21:09:41 +0400 Subject: [PATCH] * UI: fixed that json logs can't be disabled without disable other logs in settings; --- Mage.Client/src/main/java/mage/client/SessionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/mage/client/SessionHandler.java b/Mage.Client/src/main/java/mage/client/SessionHandler.java index 9a975275de..cf8d0731d9 100644 --- a/Mage.Client/src/main/java/mage/client/SessionHandler.java +++ b/Mage.Client/src/main/java/mage/client/SessionHandler.java @@ -35,7 +35,7 @@ public final class SessionHandler { public static void startSession(MageFrame mageFrame) { session = new SessionImpl(mageFrame); - session.setJsonLogActive("true".equals(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_GAME_LOG_AUTO_SAVE, "true"))); + session.setJsonLogActive("true".equals(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_JSON_GAME_LOG_AUTO_SAVE, "true"))); } public static void ping() {