mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Enhancement: Fix PySide 6.5 support for loader (#4900)
* Reverse inheritance order to avoid PySide6.5 bug `PYSIDE-2294` & `PYSIDE-2304` * Fix PySide6 support
This commit is contained in:
parent
0567701ddb
commit
4ed1c1f65d
2 changed files with 3 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ class BaseRepresentationModel(object):
|
|||
self.remote_provider = remote_provider
|
||||
|
||||
|
||||
class SubsetsModel(TreeModel, BaseRepresentationModel):
|
||||
class SubsetsModel(BaseRepresentationModel, TreeModel):
|
||||
doc_fetched = QtCore.Signal()
|
||||
refreshed = QtCore.Signal(bool)
|
||||
|
||||
|
|
|
|||
|
|
@ -1039,7 +1039,8 @@ class InstanceListView(AbstractInstanceView):
|
|||
proxy_index = proxy_model.mapFromSource(select_indexes[0])
|
||||
selection_model.setCurrentIndex(
|
||||
proxy_index,
|
||||
selection_model.ClearAndSelect | selection_model.Rows
|
||||
QtCore.QItemSelectionModel.ClearAndSelect
|
||||
| QtCore.QItemSelectionModel.Rows
|
||||
)
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue