Skip to content

BUG: Fix crash ThresholdSlider in segmentEditor when changing volume

Davide Punzo requested to merge github/fork/Punzo/FiXSegmentEditorThreshold into master

Hi @cpinter another fix in the Segmentation editor relative to Qt5.

The crash happens when the minimum of the scalar range is greater then the current maximum of the ctkRangeWidget (at least in linux).

The fix is simply to use ctkRangeWidget::setRange. P.S.: in the python wrapping setRange is not available.

Merge request reports

Loading