Skip to content

Commit

Permalink
fix type given to QSpinBox
Browse files Browse the repository at this point in the history
  • Loading branch information
Hboni committed May 26, 2023
1 parent d4abb31 commit aacf869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyanatomist/python/anatomist/cpp/paletteEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ def _paletteMinMaxChanged(self):
self.sliderPrecision) + self.real_min

self.minsb.blockSignals(True)
self.minsb.setValue(real_min)
self.minsb.setValue(int(real_min))
self.minsb.blockSignals(False)
self.maxsb.blockSignals(True)
self.maxsb.setValue(real_max)
self.maxsb.setValue(int(real_max))
self.maxsb.blockSignals(False)

self.paletteMinMaxChanged.emit(self.image)
Expand Down

0 comments on commit aacf869

Please sign in to comment.