Fix: image levels reset to mono after drag release

This commit is contained in:
Luke Campagnola 2017-10-04 08:34:42 -07:00
parent f1de464c46
commit ce15f4530a

View File

@ -199,7 +199,7 @@ class HistogramLUTItem(GraphicsWidget):
def regionChanged(self):
if self.imageItem() is not None:
self.imageItem().setLevels(self.region.getRegion())
self.imageItem().setLevels(self.getLevels())
self.sigLevelChangeFinished.emit(self)
def regionChanging(self):