mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Hound
This commit is contained in:
parent
6742fc8900
commit
498151db82
2 changed files with 4 additions and 5 deletions
|
|
@ -452,10 +452,10 @@ class SyncRepresentationSummaryModel(_SyncRepresentationModel):
|
|||
if role == lib.FailedRole:
|
||||
if header_value == 'local_site':
|
||||
return item.status == lib.STATUS[2] and \
|
||||
item.local_progress < 1
|
||||
item.local_progress < 1
|
||||
if header_value == 'remote_site':
|
||||
return item.status == lib.STATUS[2] and \
|
||||
item.remote_progress < 1
|
||||
item.remote_progress < 1
|
||||
|
||||
if role == Qt.DisplayRole:
|
||||
# because of ImageDelegate
|
||||
|
|
@ -929,10 +929,10 @@ class SyncRepresentationDetailModel(_SyncRepresentationModel):
|
|||
if role == lib.FailedRole:
|
||||
if header_value == 'local_site':
|
||||
return item.status == lib.STATUS[2] and \
|
||||
item.local_progress < 1
|
||||
item.local_progress < 1
|
||||
if header_value == 'remote_site':
|
||||
return item.status == lib.STATUS[2] and \
|
||||
item.remote_progress <1
|
||||
item.remote_progress <1
|
||||
|
||||
if role == Qt.DisplayRole:
|
||||
# because of ImageDelegate
|
||||
|
|
|
|||
|
|
@ -1101,4 +1101,3 @@ class HorizontalHeader(QtWidgets.QHeaderView):
|
|||
pos_y,
|
||||
self.height(),
|
||||
self.height())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue