Skip to content

Commit 25a58eb

Browse files
authored
Merge pull request #35 from dalcalab/context-refresh
CI: Trigger task update after adding/removing sample
2 parents 72d9d28 + a2d38a5 commit 25a58eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

MultiverSeg/SegmentEditorMultiverSegLib/SegmentEditorEffect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,13 +302,15 @@ def addImageToContext(self):
302302
self.changeViewLayout()
303303
self.addImageDialog()
304304
self.changeViewLayout(initialLayout) # Restore the layout
305+
self.handleTaskChange(self.contextComboBox.currentIndex)
305306

306307
def removeImageFromContext(self):
307308
imageToRemove = self.removeImageDialog()
308309
if imageToRemove == -1:
309310
return
310311

311312
self.contextLogic.removeExample(imageToRemove)
313+
self.handleTaskChange(self.contextComboBox.currentIndex)
312314

313315
def addImageDialog(self):
314316
# Create and handle the dialog to add an image to a context

0 commit comments

Comments
 (0)