Skip to content

Commit

Permalink
Remove window help button (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
thocevar authored May 17, 2024
1 parent 29a6da8 commit 2165c23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions orangewidget/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2165c23

Please sign in to comment.