mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
py310: Yet another float->int
This commit is contained in:
parent
ff1ee01b3b
commit
c3925db827
@ -58,7 +58,7 @@ class ResizeDialog(QDialog): # {{{
|
||||
oval = val / self.aspect_ratio if which == 'width' else val * self.aspect_ratio
|
||||
other = getattr(self, '_height' if which == 'width' else '_width')
|
||||
other.blockSignals(True)
|
||||
other.setValue(oval)
|
||||
other.setValue(int(oval))
|
||||
other.blockSignals(False)
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user