mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
force repaint
This commit is contained in:
parent
5b4bdeb625
commit
f6c2be8b2a
1 changed files with 3 additions and 0 deletions
|
|
@ -266,12 +266,14 @@ class MultiSelectionComboBox(QtWidgets.QComboBox):
|
|||
def _update_size_hint(self):
|
||||
if self._custom_text is not None:
|
||||
self.update()
|
||||
self.repaint()
|
||||
return
|
||||
self._lines = {}
|
||||
|
||||
items = self.checked_items_text()
|
||||
if not items:
|
||||
self.update()
|
||||
self.repaint()
|
||||
return
|
||||
|
||||
option = QtWidgets.QStyleOptionComboBox()
|
||||
|
|
@ -311,6 +313,7 @@ class MultiSelectionComboBox(QtWidgets.QComboBox):
|
|||
|
||||
self.update()
|
||||
self.updateGeometry()
|
||||
self.repaint()
|
||||
|
||||
def sizeHint(self):
|
||||
value = super(MultiSelectionComboBox, self).sizeHint()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue