From 09de24bf1d9c05e926087f10fad49dff366e5692 Mon Sep 17 00:00:00 2001 From: Nicky Dasmijn Date: Sat, 4 Jan 2020 14:27:56 +0100 Subject: [PATCH] When using Bugspluat there is no way to ask before uploading a crash, disable that option. --- indra/newview/llfloaterpreference.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 1a7f1c1fa7..5d154fbc6a 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -4959,6 +4959,13 @@ void LLPanelPreferenceCrashReports::refresh() getChild("checkSendCrashReportsAlwaysAsk")->setEnabled(fEnable); getChild("checkSendSettings")->setEnabled(fEnable); getChild("checkSendName")->setEnabled(fEnable); + +// Disable options not available when compiling with Bugsplat and set those to default values. +#ifdef LL_BUGSPLAT + getChild("checkSendCrashReportsAlwaysAsk")->setEnabled(false); + getChild("checkSendCrashReportsAlwaysAsk")->setValue(false); +#endif +// } void LLPanelPreferenceCrashReports::apply()