The contrast reset button has no effect. An error message appears in the log:
Traceback (most recent call last):
File "./Slicer-build/lib/CellLocator-4.11/qt-scripted-modules/Home.py", line 788, in onResetContrastButtonClicked
self.get('ContrastSlider').setValues(self.DefaultWindowLevelMin, self.DefaultWindowLevelMax)
AttributeError: 'HomeWidget' object has no attribute 'DefaultWindowLevelMin'
This is likely because default values have been moved to the Annotation and AnnotationManager classes, and the contrast defaults were overlooked.
How to Reproduce
Start the application
Modify the contrast slider
Click the contrast reset button (to the right of the slider)
Environment
Description
The contrast reset button has no effect. An error message appears in the log:
This is likely because default values have been moved to the
Annotation
andAnnotationManager
classes, and the contrast defaults were overlooked.How to Reproduce