Page MenuHomePhabricator

[Segmentation] Disable "New" button when no image is selected
Open, LowPublic

Description

When no patient image is selected, the "New" segmentation button can still be clicked (but nothing happens). It would be better if it was only enabled when an image is selected, and was not clickable/"greyed out" otherwise.

Event Timeline

kompan triaged this task as Low priority.Thu, Sep 10, 12:48 PM
kompan created this task.
kislinsk renamed this task from Disable "New" button when no image is selected to [Segmentation] Disable "New" button when no image is selected.Thu, Sep 10, 1:34 PM
kalali added a subscriber: kalali.Fri, Sep 11, 12:03 PM

Also, the checklist states "Er ist disabled"

Also, the "red warning" does not change back to "Please select an image" if an image is removed (which was automatically selected before).

That leads me to the question, @kompan: Does the bug only happen, after you removed a selected node or also, if no node was initially selected?

Good point! It only occurs after I have removed the image node. When I initially open the segmentation plugin, the new button still is deactivated as it should be.