summaryrefslogtreecommitdiffstats
path: root/api/logic/BaseInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-04 00:19:32 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-04 00:19:32 +0100
commit3780a25d27ae5c803ce9ed075928fff365104987 (patch)
treef59f3c2bbb77b7a1bdfecb408bafa2f793030673 /api/logic/BaseInstance.cpp
parent6ebf6e7785da79f7f3eb28176951d0e9d22a20e8 (diff)
downloadMultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar.gz
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar.lz
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar.xz
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.zip
NOISSUE add an option to show console on error and default other options to false
Diffstat (limited to 'api/logic/BaseInstance.cpp')
-rw-r--r--api/logic/BaseInstance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/BaseInstance.cpp b/api/logic/BaseInstance.cpp
index c3757678..b499c106 100644
--- a/api/logic/BaseInstance.cpp
+++ b/api/logic/BaseInstance.cpp
@@ -49,6 +49,7 @@ BaseInstance::BaseInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr s
auto consoleSetting = m_settings->registerSetting("OverrideConsole", false);
m_settings->registerOverride(globalSettings->getSetting("ShowConsole"), consoleSetting);
m_settings->registerOverride(globalSettings->getSetting("AutoCloseConsole"), consoleSetting);
+ m_settings->registerOverride(globalSettings->getSetting("ShowConsoleOnError"), consoleSetting);
m_settings->registerOverride(globalSettings->getSetting("LogPrePostOutput"), consoleSetting);
}