mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix items bigger than item's width
This commit is contained in:
parent
817808b224
commit
293b89baf9
1 changed files with 4 additions and 1 deletions
|
|
@ -262,7 +262,10 @@ class MultiSelectionComboBox(QtWidgets.QComboBox):
|
|||
self.lines[line] = [item]
|
||||
line += 1
|
||||
else:
|
||||
self.lines[line].append(item)
|
||||
if line in self.lines:
|
||||
self.lines[line].append(item)
|
||||
else:
|
||||
self.lines[line] = [item]
|
||||
left_x = left_x + width + self.item_spacing
|
||||
|
||||
self.update()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue