mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
don't care about ideal height
This commit is contained in:
parent
1454efab3a
commit
44e00ed1d4
1 changed files with 3 additions and 4 deletions
|
|
@ -90,10 +90,9 @@ class CompleterView(QtWidgets.QListView):
|
|||
|
||||
def sizeHint(self):
|
||||
result = super(CompleterView, self).sizeHint()
|
||||
height = 0
|
||||
for row in range(self._filter_model.rowCount()):
|
||||
height += self.sizeHintForRow(row)
|
||||
result.setHeight(height)
|
||||
if self._filter_model.rowCount() == 0:
|
||||
result.setHeight(0)
|
||||
|
||||
return result
|
||||
|
||||
def _update_geo(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue