To reproduce:
- Load Pic3D
- Create new segmentation session
- Click on label
--> Toolbox for segmentation is not enabled :-(
To reproduce:
--> Toolbox for segmentation is not enabled :-(
rMITK MITK | |||
Restricted Differential Revision | rMITKaa8f1cc2c749 Fixed T27698 - Segmentation toolbox is never enabled in multi-label… | ||
Restricted Differential Revision | rMITKc328963104cc removed dead code | ||
Restricted Differential Revision | rMITKa31307b35a9c Fixed T27698 |
@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.
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.