Page MenuHomePhabricator

[Segmentation] Segmentation toolbox is never enabled in multi-label segmentation view
Closed, ResolvedPublic

Description

To reproduce:

  1. Load Pic3D
  1. Create new segmentation session
  1. Click on label

--> Toolbox for segmentation is not enabled :-(

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

thomass created this task.
thomass updated the task description. (Show Details)

@thomass : Small workaround until it is fixed: Close the view and open it again. The image and segmentation are autoselected and the tools are active.

floca added a revision: Restricted Differential Revision.
floca added a subscriber: kislinsk.

Don't ask me what the reason is, that the problem appeared now! But the enabled state was only set at view construction for the ML view. Which lead to disabled tools if you opened it the first time (afterwards a reference image was set in the toolmanager and everything was fine).
Normal segmentation worked arround it by recreating the buttons as soon as data was changed. But I think it is cleaner to let the toolbox widget update the states whenever the toolmanager data has changed.