Don't attempt to set same level mode again
This commit is contained in:
parent
2db502a9cc
commit
019c421ca1
@ -289,8 +289,10 @@ class HistogramLUTItem(GraphicsWidget):
|
||||
"""
|
||||
assert mode in ('mono', 'rgba')
|
||||
|
||||
oldLevels = self.getLevels()
|
||||
if mode == self.levelMode:
|
||||
return
|
||||
|
||||
oldLevels = self.getLevels()
|
||||
self.levelMode = mode
|
||||
self._showRegions()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user