From 2165c23b5bfa8454f6f12eb4a76c253fae64aeef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Ho=C4=8Devar?= Date: Fri, 17 May 2024 17:14:41 +0200 Subject: [PATCH] Remove window help button (#271) --- orangewidget/widget.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orangewidget/widget.py b/orangewidget/widget.py index 3a614683a..b26c486e8 100755 --- a/orangewidget/widget.py +++ b/orangewidget/widget.py @@ -314,6 +314,9 @@ def __new__(cls, *args, captionTitle=None, **kwargs): WidgetMessagesMixin.__init__(self) WidgetSignalsMixin.__init__(self) + # disable window help button everywhere + self.setWindowFlag(Qt.WindowContextHelpButtonHint, False) + # handle deprecated left_side_scrolling if hasattr(self, 'left_side_scrolling'): warnings.warn(