mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
make enum line edit transparent for mouse
This commit is contained in:
parent
fde803e6ef
commit
77ffca938a
1 changed files with 2 additions and 1 deletions
|
|
@ -376,6 +376,7 @@ class EnumAttrWidget(_BaseAttrDefWidget):
|
|||
|
||||
line_edit = QtWidgets.QLineEdit(input_widget)
|
||||
line_edit.setReadOnly(True)
|
||||
line_edit.setAttribute(QtCore.Qt.WA_TransparentForMouseEvents)
|
||||
input_widget.setLineEdit(line_edit)
|
||||
|
||||
if self.attr_def.tooltip:
|
||||
|
|
@ -413,7 +414,7 @@ class EnumAttrWidget(_BaseAttrDefWidget):
|
|||
|
||||
else:
|
||||
line_edit = self._input_widget.lineEdit()
|
||||
line_edit.setText("Multiselection")
|
||||
line_edit.setText("< Multiselection> ")
|
||||
|
||||
|
||||
class UnknownAttrWidget(_BaseAttrDefWidget):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue