Skip to content

Commit

Permalink
qt.QToolButton.MenuButtonPopup
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgar committed Oct 6, 2024
1 parent bd34c18 commit 82c6e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silx/gui/widgets/FrameBrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def __init__(self, parent=None):
self._playButton.clicked.connect(self._playStopSequence)
self._menuPlaySlider = _PlayButtonContextMenu(self)
self._playButton.setMenu(self._menuPlaySlider)
self._playButton.setPopupMode(1)
self._playButton.setPopupMode(qt.QToolButton.MenuButtonPopup)

def lineEdit(self):
"""Returns the line edit provided by this widget.
Expand Down

0 comments on commit 82c6e4c

Please sign in to comment.