mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Project Manager: fix tools not being visible until when editable
(cherry picked from commit fbdd225c8b0cc579a022d69c179a5f90fc6a387d)
This commit is contained in:
parent
c33be571fd
commit
f1a5a122cf
1 changed files with 6 additions and 0 deletions
|
|
@ -205,3 +205,9 @@ class ToolsDelegate(QtWidgets.QStyledItemDelegate):
|
|||
|
||||
def setModelData(self, editor, model, index):
|
||||
model.setData(index, editor.value(), QtCore.Qt.EditRole)
|
||||
|
||||
def displayText(self, value, locale):
|
||||
if value:
|
||||
return ", ".join(value)
|
||||
else:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue