diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 14e34c61c8..672c4862c6 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -976,7 +976,11 @@ void StdCmdToggleTransparency::activated(int iMsg) } } - int transparency = oneTransparent ? 0 : 70; + auto hGrp = + App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View"); + int userTransparency = hGrp->GetInt("ToggleTransparency", 70); + + int transparency = oneTransparent ? 0 : userTransparency; for (auto* view : viewsToToggle) { App::Property* prop = view->getPropertyByName("Transparency");