From a2d38a518898e2064c33cf3f0f4240691ecf627d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Goll?= Date: Fri, 23 May 2025 14:59:57 +0200 Subject: [PATCH] CI: Trigger task update after adding/removing sample --- MultiverSeg/SegmentEditorMultiverSegLib/SegmentEditorEffect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MultiverSeg/SegmentEditorMultiverSegLib/SegmentEditorEffect.py b/MultiverSeg/SegmentEditorMultiverSegLib/SegmentEditorEffect.py index 1971b89..c38fda3 100644 --- a/MultiverSeg/SegmentEditorMultiverSegLib/SegmentEditorEffect.py +++ b/MultiverSeg/SegmentEditorMultiverSegLib/SegmentEditorEffect.py @@ -302,6 +302,7 @@ def addImageToContext(self): self.changeViewLayout() self.addImageDialog() self.changeViewLayout(initialLayout) # Restore the layout + self.handleTaskChange(self.contextComboBox.currentIndex) def removeImageFromContext(self): imageToRemove = self.removeImageDialog() @@ -309,6 +310,7 @@ def removeImageFromContext(self): return self.contextLogic.removeExample(imageToRemove) + self.handleTaskChange(self.contextComboBox.currentIndex) def addImageDialog(self): # Create and handle the dialog to add an image to a context