diff --git a/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui b/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
index 9f8d462ebe..eb8f353af6 100644
--- a/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
+++ b/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
@@ -389,40 +389,6 @@ such as "Arial:Bold"
- -
-
-
-
-
-
- Text orientation
-
-
-
- -
-
-
- This is the orientation of the dimension texts when those dimensions are vertical. Default is left, which is the ISO standard.
-
-
- dimorientation
-
-
- Mod/Draft
-
-
-
-
- Left (ISO standard)
-
-
- -
-
- Right
-
-
-
-
-
-
-
-
diff --git a/src/Mod/Draft/Resources/ui/preferences-draftvisual.ui b/src/Mod/Draft/Resources/ui/preferences-draftvisual.ui
index 6019fc04d1..02baf29fcb 100644
--- a/src/Mod/Draft/Resources/ui/preferences-draftvisual.ui
+++ b/src/Mod/Draft/Resources/ui/preferences-draftvisual.ui
@@ -112,26 +112,6 @@
- -
-
-
-
-
-
- Check this if you want to use the color/linewidth from the toolbar as default
-
-
- Save current color and linewidth across sessions
-
-
- saveonexit
-
-
- Mod/Draft
-
-
-
-
-
-
-
diff --git a/src/Mod/Draft/draftutils/utils.py b/src/Mod/Draft/draftutils/utils.py
index c13d10091f..7b8deeaa5b 100644
--- a/src/Mod/Draft/draftutils/utils.py
+++ b/src/Mod/Draft/draftutils/utils.py
@@ -166,7 +166,7 @@ def get_param_type(param):
`'bool'`, `'unsigned'`, depending on the parameter.
It returns `None` for unhandled situations.
"""
- if param in ("dimsymbol", "dimPrecision", "dimorientation",
+ if param in ("dimsymbol", "dimPrecision",
"precision", "defaultWP", "snapRange", "gridEvery",
"linewidth", "modconstrain", "modsnap",
"maxSnapEdges", "modalt", "HatchPatternResolution",
@@ -182,7 +182,7 @@ def get_param_type(param):
"dimovershoot", "extovershoot", "HatchPatternSize"):
return "float"
elif param in ("selectBaseObjects", "alwaysSnap", "grid",
- "fillmode", "saveonexit", "maxSnap",
+ "fillmode", "maxSnap",
"SvgLinesBlack", "dxfStdSize", "showSnapBar",
"hideSnapBar", "alwaysShowGrid", "renderPolylineWidth",
"showPlaneTracker", "UsePartPrimitives",