Remove EnabledMode from QmitkToolSelectionBox
Summary:
Also improved the enabled check by checking for the presence of
any labels, too.
Fixes T29357
Test Plan:
- Load image
- Create segmentation
- Add layer
- Tools should be disabled in layer 1 as it doesn't contain any labels
- Add label, tools should be enabled
- Go to layer 0, tool are still activated as it contains a label as well
- Delete the label in layer 0, tools should be disabled now
Reviewers: kalali, O1 MITK Reviewer Group I
Reviewed By: kalali, O1 MITK Reviewer Group I
Tags: Breaking Change
Maniphest Tasks: T29357
Differential Revision: https://phabricator.mitk.org/D738