From bb6b1979f68e3cb2d2a48cbffd71ea256427685f Mon Sep 17 00:00:00 2001 From: Uwe Date: Fri, 24 Feb 2023 00:52:42 +0100 Subject: [PATCH] [Material] remove unused Help button in editor dialog --- src/Mod/Material/MaterialEditor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Material/MaterialEditor.py b/src/Mod/Material/MaterialEditor.py index 1b79561f75..e609bda3b2 100644 --- a/src/Mod/Material/MaterialEditor.py +++ b/src/Mod/Material/MaterialEditor.py @@ -63,6 +63,9 @@ class MaterialEditor: # load the UI file from the same directory as this script self.widget = FreeCADGui.PySideUic.loadUi(filePath + "materials-editor.ui") + # remove unused Help button + self.widget.setWindowFlags(self.widget.windowFlags() + & ~QtCore.Qt.WindowContextHelpButtonHint) # restore size and position param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Material")