From d243992499c2d639d2abb075b2fb4f430745a070 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 4 Nov 2024 17:00:28 +0000 Subject: [PATCH] Safe mode message added as per #17580 (#17640) * Safe mode message added as per #17580 * Fixed extra whitespace after return Removed extra whitespace after return spotted by @hyarion * Incorporated comments by @hyarion --- src/App/Application.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 4eac6b9888..937be06c96 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -2653,6 +2653,12 @@ void Application::initConfig(int argc, char ** argv) mConfig["BuildVersionPoint"].c_str(), mConfig["BuildVersionSuffix"].c_str(), mConfig["BuildRevision"].c_str()); + + if (SafeMode::SafeModeEnabled()) { + Base::Console().Message("FreeCAD is running in _SAFE_MODE_.\n" + "Safe mode temporarily disables your configurations and " + "addons. Restart the application to exit safe mode.\n\n"); + } } LoadParameters();