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
This commit is contained in:
James
2024-11-04 11:00:38 -06:00
committed by Chris Hennes
parent 4b5e09043d
commit e57599c3f0
+6
View File
@@ -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();