mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added comment
This commit is contained in:
parent
60445b705c
commit
7b45e69f99
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,9 @@ class CustomCombo(QtWidgets.QWidget):
|
|||
|
||||
toolbutton.setMenu(toolmenu)
|
||||
toolbutton.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
|
||||
|
||||
# Fake popupMenu property as PySide2 does not store it's value as
|
||||
# integer but as enum object
|
||||
toolbutton.setProperty("popup_mode", "1")
|
||||
|
||||
layout = QtWidgets.QHBoxLayout(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue