Skip to content

Commit dcf346c

Browse files
[cuegui] Fix CueJobMonitorTree not refreshing on property changes (#2100)
**Link the Issue(s) this Pull Request is related to.** - #2082 **Summarize your change.** [cuegui] Fix CueJobMonitorTree not refreshing on property changes When job properties (priority, progress, etc.) changed without adding or removing items, the UI would not update. The _processUpdate method was only calling redraw() when the item set was unchanged, which only triggers a visual refresh without updating the underlying item data. Now calls __processUpdateHandleNested() to update item data before redrawing, ensuring property changes are reflected in the UI.
1 parent 64a133a commit dcf346c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cuegui/cuegui/CueJobMonitorTree.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,9 @@ def _processUpdate(self, work, rpcObjects):
411411
try:
412412
current = set(self._items.keys())
413413
if current == set(rpcObjects[1]):
414-
# Only updates if return rpcObjects doesn't equal current _items
414+
# Same items exist - update their data in place
415415
collapsed = self.__getCollapsed()
416+
self.__processUpdateHandleNested(self.invisibleRootItem(), rpcObjects[0])
416417
self.__setCollapsed(collapsed)
417418
self.redraw()
418419
else:

0 commit comments

Comments
 (0)