Skip to content

Commit

Permalink
feat: add signals, getter and setter attributes on `CueSelectPu…
Browse files Browse the repository at this point in the history
…llDown` used in `DynamicSettingsWidget`
  • Loading branch information
KernAttila committed Mar 28, 2023
1 parent 5314876 commit f494104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cuesubmit/cuesubmit/ui/Widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ def __init__(
self.toolButton = QtWidgets.QToolButton(parent=self)
self.optionsMenu = QtWidgets.QMenu(self)
self.setOptions(options)
self.signals = [self.optionsMenu.triggered]
self.getter = self.text
self.setter = self.setText
if self.multiselect:
self.toolButton.setText(self.emptyText)
else:
Expand Down

0 comments on commit f494104

Please sign in to comment.