mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
Merge pull request #1106 from abdnh/fix-deprwarn
Fix deprecated implicit conversion from float to int using __int__()
This commit is contained in:
commit
dd17da7d5c
1 changed files with 1 additions and 1 deletions
|
|
@ -608,7 +608,7 @@ body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }}
|
|||
mw.progress.timer(1000, mw.reset, False)
|
||||
return
|
||||
|
||||
self.setFixedHeight(qvar)
|
||||
self.setFixedHeight(int(qvar))
|
||||
|
||||
def set_bridge_command(self, func: Callable[[str], Any], context: Any) -> None:
|
||||
"""Set a handler for pycmd() messages received from Javascript.
|
||||
|
|
|
|||
Loading…
Reference in a new issue