mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
hide spinbox buttons
This commit is contained in:
parent
cc0cbbfade
commit
03cb11d091
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ class NumberDelegate(QtWidgets.QStyledItemDelegate):
|
|||
editor.setObjectName("NumberEditor")
|
||||
editor.setMinimum(self.minimum)
|
||||
editor.setMaximum(self.maximum)
|
||||
editor.setButtonSymbols(QtWidgets.QSpinBox.NoButtons)
|
||||
|
||||
value = index.data(QtCore.Qt.EditRole)
|
||||
if value is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue