Fix: image levels reset to mono after drag release
This commit is contained in:
parent
f1de464c46
commit
ce15f4530a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user