* 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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user